Package io.deephaven.server.table.ops
Class UpdateOrSelectGrpcImpl
java.lang.Object
io.deephaven.server.table.ops.GrpcTableOperation<SelectOrUpdateRequest>
io.deephaven.server.table.ops.UpdateOrSelectGrpcImpl
- Direct Known Subclasses:
UpdateOrSelectGrpcImpl.LazyUpdateGrpcImpl,UpdateOrSelectGrpcImpl.SelectGrpcImpl,UpdateOrSelectGrpcImpl.UpdateGrpcImpl,UpdateOrSelectGrpcImpl.UpdateViewGrpcImpl,UpdateOrSelectGrpcImpl.ViewGrpcImpl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprotected static interfacestatic classstatic classstatic classstatic classNested classes/interfaces inherited from class io.deephaven.server.table.ops.GrpcTableOperation
GrpcTableOperation.MultiDependencyFunction<T>, GrpcTableOperation.PermissionFunction<T> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUpdateOrSelectGrpcImpl(GrpcTableOperation.PermissionFunction<SelectOrUpdateRequest> permission, Function<BatchTableRequest.Operation, SelectOrUpdateRequest> getRequest, UpdateOrSelectGrpcImpl.RealTableOperation realTableOperation, boolean requiresSharedLock, @NotNull ColumnExpressionValidator columnExpressionValidator) -
Method Summary
Modifier and TypeMethodDescriptioncreate(SelectOrUpdateRequest request, List<SessionState.ExportObject<Table>> sourceTables) This actually performs the operation.Methods inherited from class io.deephaven.server.table.ops.GrpcTableOperation
checkPermission, getRequestFromOperation, getResultTicket, getTableReferences, validateRequest
-
Constructor Details
-
UpdateOrSelectGrpcImpl
protected UpdateOrSelectGrpcImpl(GrpcTableOperation.PermissionFunction<SelectOrUpdateRequest> permission, Function<BatchTableRequest.Operation, SelectOrUpdateRequest> getRequest, UpdateOrSelectGrpcImpl.RealTableOperation realTableOperation, boolean requiresSharedLock, @NotNull @NotNull ColumnExpressionValidator columnExpressionValidator)
-
-
Method Details
-
create
public Table create(SelectOrUpdateRequest request, List<SessionState.ExportObject<Table>> sourceTables) Description copied from class:GrpcTableOperationThis actually performs the operation. It will typically be performed after the- Specified by:
createin classGrpcTableOperation<SelectOrUpdateRequest>- Parameters:
request- the original request from the usersourceTables- the source tables that this operation may or may not need- Returns:
- the resulting table
-