Package org.vitrivr.cottontail.grpc
Class DMLGrpc.DMLBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<DMLGrpc.DMLBlockingStub>
-
- org.vitrivr.cottontail.grpc.DMLGrpc.DMLBlockingStub
-
- Enclosing class:
- DMLGrpc
public static final class DMLGrpc.DMLBlockingStub extends io.grpc.stub.AbstractBlockingStub<DMLGrpc.DMLBlockingStub>
Endpoint for data management (INSERT, UPDATE and DELETE).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DMLGrpc.DMLBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)CottontailGrpc.QueryResponseMessagedelete(CottontailGrpc.DeleteMessage request)Deletes data from an entity.CottontailGrpc.QueryResponseMessageinsert(CottontailGrpc.InsertMessage request)Inserts data into an entity.CottontailGrpc.QueryResponseMessageinsertBatch(CottontailGrpc.BatchInsertMessage request)Inserts data into an entity in batches! InsertMessages are collected until Cottontail DBs cache is saturated and then persisted in one go.CottontailGrpc.QueryResponseMessageupdate(CottontailGrpc.UpdateMessage request)Updates data in an entity.
-
-
-
Method Detail
-
build
protected DMLGrpc.DMLBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<DMLGrpc.DMLBlockingStub>
-
insert
public CottontailGrpc.QueryResponseMessage insert(CottontailGrpc.InsertMessage request)
Inserts data into an entity. Each INSERT returns a record with a status.
-
insertBatch
public CottontailGrpc.QueryResponseMessage insertBatch(CottontailGrpc.BatchInsertMessage request)
Inserts data into an entity in batches! InsertMessages are collected until Cottontail DBs cache is saturated and then persisted in one go.
-
update
public CottontailGrpc.QueryResponseMessage update(CottontailGrpc.UpdateMessage request)
Updates data in an entity. Each UPDATE returns a record with a status.
-
delete
public CottontailGrpc.QueryResponseMessage delete(CottontailGrpc.DeleteMessage request)
Deletes data from an entity. Each DELETE returns a record with a status.
-
-