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).
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected DMLGrpc.DMLBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) delete(CottontailGrpc.DeleteMessage request) Deletes data from an entity.insert(CottontailGrpc.InsertMessage request) Inserts data into an entity.Inserts data into an entity in batches! InsertMessages are collected until Cottontail DBs cache is saturated and then persisted in one go.update(CottontailGrpc.UpdateMessage request) Updates data in an entity.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
buildin classio.grpc.stub.AbstractStub<DMLGrpc.DMLBlockingStub>
-
insert
Inserts data into an entity. Each INSERT returns a record with a status.
-
insertBatch
Inserts data into an entity in batches! InsertMessages are collected until Cottontail DBs cache is saturated and then persisted in one go.
-
update
Updates data in an entity. Each UPDATE returns a record with a status.
-
delete
Deletes data from an entity. Each DELETE returns a record with a status.
-