Package io.deephaven.server.table.ops
Class SnapshotWhenTableGrpcImpl
java.lang.Object
io.deephaven.server.table.ops.GrpcTableOperation<SnapshotWhenTableRequest>
io.deephaven.server.table.ops.SnapshotWhenTableGrpcImpl
@Singleton
public final class SnapshotWhenTableGrpcImpl
extends GrpcTableOperation<SnapshotWhenTableRequest>
-
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
(SnapshotWhenTableRequest request, List<SessionState.ExportObject<Table>> sourceTables) This actually performs the operation.void
validateRequest
(SnapshotWhenTableRequest request) This method validates preconditions of the request.Methods inherited from class io.deephaven.server.table.ops.GrpcTableOperation
checkPermission, getRequestFromOperation, getResultTicket, getTableReferences
-
Constructor Details
-
SnapshotWhenTableGrpcImpl
-
-
Method Details
-
validateRequest
Description copied from class:GrpcTableOperation
This method validates preconditions of the request.- Overrides:
validateRequest
in classGrpcTableOperation<SnapshotWhenTableRequest>
- Parameters:
request
- the original request from the user- Throws:
io.grpc.StatusRuntimeException
- on the first failed precondition
-
create
public Table create(SnapshotWhenTableRequest 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<SnapshotWhenTableRequest>
- Parameters:
request
- the original request from the usersourceTables
- the source tables that this operation may or may not need- Returns:
- the resulting table
-