java.lang.Object
com.s8.api.flow.table.requests.PutRowS8Request
A Request object to put a row in a specific table
- Author:
- Pierre Convert Copyright (C) 2025, Pierre Convert. All rights reserved.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumResponse status for the request -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleantrue if hardware persistency is required before request processing terminationfinal booleantrue if overriding is allowedfinal RowS8Objectthe row objectfinal StringThe table id -
Constructor Summary
ConstructorsConstructorDescriptionPutRowS8Request(String tableId, RowS8Object row, boolean isOverridingAllowed, boolean isImmediateHDWriteRequired) Main constructor -
Method Summary
Modifier and TypeMethodDescriptionabstract voidCallback method upon failed request processing.abstract voidonSucceed(PutRowS8Request.Status status) Callback method upon successful request processing.
-
Field Details
-
tableId
The table id -
row
the row object -
isOverridingAllowed
public final boolean isOverridingAllowedtrue if overriding is allowed -
isImmediateHDWriteRequired
public final boolean isImmediateHDWriteRequiredtrue if hardware persistency is required before request processing termination
-
-
Constructor Details
-
PutRowS8Request
public PutRowS8Request(String tableId, RowS8Object row, boolean isOverridingAllowed, boolean isImmediateHDWriteRequired) Main constructor- Parameters:
tableId- the id of the tablerow- the row object to be insertedisOverridingAllowed- true of overrides are allowedisImmediateHDWriteRequired- true if hardware immediate persistency is required
-
-
Method Details
-
onSucceed
Callback method upon successful request processing.- Parameters:
status- the status of the response
-
onError
Callback method upon failed request processing.- Parameters:
exception- the exception raised
-