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