Package org.apache.ignite.sql
Class BatchedArguments
java.lang.Object
org.apache.ignite.sql.BatchedArguments
Arguments for batch query execution.
-
Method Summary
Modifier and TypeMethodDescriptionAppends arguments to a batch.static BatchedArgumentscreate()Creates batched arguments.static BatchedArgumentsCreates batched arguments.get(int index) Returns the arguments list at the specified position.booleanisEmpty()Returnstrueif this batch contains is empty.iterator()Returns an iterator over the elements in this batch.static BatchedArgumentsCreates batched arguments.intsize()Returns the size of this batch.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
create
Creates batched arguments.- Returns:
- Batch query arguments.
-
of
Creates batched arguments.- Parameters:
args- Arguments.- Returns:
- Batch query arguments.
-
from
Creates batched arguments.- Parameters:
batchedArgs- Arguments.- Returns:
- Batch query arguments.
-
add
Appends arguments to a batch.- Parameters:
args- Arguments.- Returns:
thisfor chaining.
-
get
Returns the arguments list at the specified position.- Parameters:
index- index of the element to return.- Returns:
- Arguments list.
-
size
public int size()Returns the size of this batch.- Returns:
- Batch size.
-
isEmpty
public boolean isEmpty()Returnstrueif this batch contains is empty.- Returns:
Trueif this batch contains is empty.
-
iterator
Returns an iterator over the elements in this batch.
-