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 enum
Response status for the request -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal boolean
true if hardware persistency is required before request processing terminationfinal boolean
true if overriding is allowedfinal RowS8Object
the row objectfinal String
The table id -
Constructor Summary
ConstructorsConstructorDescriptionPutRowS8Request
(String tableId, RowS8Object row, boolean isOverridingAllowed, boolean isImmediateHDWriteRequired) Main constructor -
Method Summary
Modifier and TypeMethodDescriptionabstract void
Callback method upon failed request processing.abstract void
onSucceed
(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
-