Package org.vitrivr.cottontail.grpc
Class DDLGrpc.DDLStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<DDLGrpc.DDLStub>
org.vitrivr.cottontail.grpc.DDLGrpc.DDLStub
- Enclosing class:
- DDLGrpc
A stub to allow clients to do asynchronous rpc calls to service DDL.
-
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>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDDLStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionvoidanalyzeEntity(CottontailGrpc.AnalyzeEntityMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Optimizing and truncating entities.protected DDLGrpc.DDLStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateEntity(CottontailGrpc.CreateEntityMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Creates a new entity.voidcreateIndex(CottontailGrpc.CreateIndexMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Creates a new index.voidcreateSchema(CottontailGrpc.CreateSchemaMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Creates a new schema.voiddropEntity(CottontailGrpc.DropEntityMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Drops an existing entity.voiddropIndex(CottontailGrpc.DropIndexMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Drops an existing index.voiddropSchema(CottontailGrpc.DropSchemaMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Drops an existing schema.voidentityDetails(CottontailGrpc.EntityDetailsMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Returns details about the given entity.voidentityStatistics(CottontailGrpc.EntityDetailsMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Returns details about the given column.voidindexDetails(CottontailGrpc.IndexDetailsMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Returns details about the given index.voidlistEntities(CottontailGrpc.ListEntityMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Lists all available entities for the given schema.voidlistSchemas(CottontailGrpc.ListSchemaMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Lists all schemas.voidrebuildIndex(CottontailGrpc.RebuildIndexMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Rebuilds an existing index.voidtruncateEntity(CottontailGrpc.TruncateEntityMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Truncates an existing entity.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Constructor Details
-
DDLStub
private DDLStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
- Specified by:
buildin classio.grpc.stub.AbstractStub<DDLGrpc.DDLStub>
-
listSchemas
public void listSchemas(CottontailGrpc.ListSchemaMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Lists all schemas.
-
createSchema
public void createSchema(CottontailGrpc.CreateSchemaMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Creates a new schema.
-
dropSchema
public void dropSchema(CottontailGrpc.DropSchemaMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Drops an existing schema.
-
listEntities
public void listEntities(CottontailGrpc.ListEntityMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Lists all available entities for the given schema.
-
entityDetails
public void entityDetails(CottontailGrpc.EntityDetailsMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Returns details about the given entity.
-
entityStatistics
public void entityStatistics(CottontailGrpc.EntityDetailsMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Returns details about the given column.
-
indexDetails
public void indexDetails(CottontailGrpc.IndexDetailsMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Returns details about the given index.
-
createEntity
public void createEntity(CottontailGrpc.CreateEntityMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Creates a new entity.
-
dropEntity
public void dropEntity(CottontailGrpc.DropEntityMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Drops an existing entity.
-
truncateEntity
public void truncateEntity(CottontailGrpc.TruncateEntityMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Truncates an existing entity.
-
analyzeEntity
public void analyzeEntity(CottontailGrpc.AnalyzeEntityMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Optimizing and truncating entities.
-
createIndex
public void createIndex(CottontailGrpc.CreateIndexMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Creates a new index.
-
dropIndex
public void dropIndex(CottontailGrpc.DropIndexMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Drops an existing index.
-
rebuildIndex
public void rebuildIndex(CottontailGrpc.RebuildIndexMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Rebuilds an existing index.
-