Package io.deephaven.server.table.ops
Class SnapshotTableGrpcImpl
java.lang.Object
io.deephaven.server.table.ops.GrpcTableOperation<SnapshotTableRequest>
io.deephaven.server.table.ops.SnapshotTableGrpcImpl
@Singleton
public final class SnapshotTableGrpcImpl
extends GrpcTableOperation<SnapshotTableRequest>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.server.table.ops.GrpcTableOperation
GrpcTableOperation.MultiDependencyFunction<T>, GrpcTableOperation.PermissionFunction<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(SnapshotTableRequest request, List<SessionState.ExportObject<Table>> sourceTables) This actually performs the operation.void
validateRequest
(SnapshotTableRequest request) This method validates preconditions of the request.Methods inherited from class io.deephaven.server.table.ops.GrpcTableOperation
checkPermission, getRequestFromOperation, getResultTicket, getTableReferences
-
Constructor Details
-
SnapshotTableGrpcImpl
-
-
Method Details
-
validateRequest
Description copied from class:GrpcTableOperation
This method validates preconditions of the request.- Overrides:
validateRequest
in classGrpcTableOperation<SnapshotTableRequest>
- Parameters:
request
- the original request from the user- Throws:
io.grpc.StatusRuntimeException
- on the first failed precondition
-
create
public Table create(SnapshotTableRequest request, List<SessionState.ExportObject<Table>> sourceTables) Description copied from class:GrpcTableOperation
This actually performs the operation. It will typically be performed after the- Specified by:
create
in classGrpcTableOperation<SnapshotTableRequest>
- Parameters:
request
- the original request from the usersourceTables
- the source tables that this operation may or may not need- Returns:
- the resulting table
-