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