Class QueryParameters
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.h2.QueryParameters
-
@GridToStringInclude(sensitive=true) public class QueryParameters extends Object
Query parameters which vary between requests having the same execution plan. Essentially, these are the arguments of originalSqlFieldsQuerywhich are not part ofQueryDescriptor.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]arguments()booleanautoCommit()List<Object[]>batchedArguments()BooleandataPageScanEnabled()booleanlazy()intpageSize()int[]partitions()inttimeout()QueryParameterstoSingleBatchedArguments(Object[] args)Convert current batched arguments to a form with single arguments.StringtoString()intupdateBatchSize()Gets update internal bach size.
-
-
-
Method Detail
-
arguments
public Object[] arguments()
- Returns:
- Arguments.
-
partitions
public int[] partitions()
- Returns:
- Partitions.
-
timeout
public int timeout()
- Returns:
- Timeout.
-
lazy
public boolean lazy()
- Returns:
- Lazy flag.
-
pageSize
public int pageSize()
- Returns:
- Page size.
-
dataPageScanEnabled
public Boolean dataPageScanEnabled()
- Returns:
- Data page scan enabled flag.
-
autoCommit
public boolean autoCommit()
- Returns:
- Auto-commit flag.
-
updateBatchSize
public int updateBatchSize()
Gets update internal bach size. Default is 1 to prevent deadlock on update where keys sequance are different in several concurrent updates.- Returns:
- Update internal batch size
-
toSingleBatchedArguments
public QueryParameters toSingleBatchedArguments(Object[] args)
Convert current batched arguments to a form with single arguments.- Parameters:
args- Arguments.- Returns:
- Result.
-
-