Package org.vitrivr.cottontail.grpc
Class DMLGrpc.DMLImplBase
- java.lang.Object
-
- org.vitrivr.cottontail.grpc.DMLGrpc.DMLImplBase
-
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
- DMLGrpc
public abstract static class DMLGrpc.DMLImplBase extends java.lang.Object implements io.grpc.BindableServiceEndpoint for data management (INSERT, UPDATE and DELETE).
-
-
Constructor Summary
Constructors Constructor Description DMLImplBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.ServerServiceDefinitionbindService()voiddelete(CottontailGrpc.DeleteMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver)Deletes data from an entity.voidinsert(CottontailGrpc.InsertMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver)Inserts data into an entity.voidinsertBatch(CottontailGrpc.BatchInsertMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver)Inserts data into an entity in batches! InsertMessages are collected until Cottontail DBs cache is saturated and then persisted in one go.voidupdate(CottontailGrpc.UpdateMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver)Updates data in an entity.
-
-
-
Method Detail
-
insert
public void insert(CottontailGrpc.InsertMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver)
Inserts data into an entity. Each INSERT returns a record with a status.
-
insertBatch
public void insertBatch(CottontailGrpc.BatchInsertMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver)
Inserts data into an entity in batches! InsertMessages are collected until Cottontail DBs cache is saturated and then persisted in one go.
-
update
public void update(CottontailGrpc.UpdateMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver)
Updates data in an entity. Each UPDATE returns a record with a status.
-
delete
public void delete(CottontailGrpc.DeleteMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver)
Deletes data from an entity. Each DELETE returns a record with a status.
-
bindService
public final io.grpc.ServerServiceDefinition bindService()
- Specified by:
bindServicein interfaceio.grpc.BindableService
-
-