Package com.aerospike.dsl
Class PlaceholderValues
java.lang.Object
com.aerospike.dsl.PlaceholderValues
This class stores values to be matched with placeholders by indexes
-
Method Summary
Modifier and TypeMethodDescriptiongetValue(int index) Get value of the placeholder with the particular indexstatic PlaceholderValuesCreate a newPlaceholderValuesobject withintsize()Get overall amount of the given values
-
Method Details
-
of
Create a newPlaceholderValuesobject with -
getValue
Get value of the placeholder with the particular index- Parameters:
index- Index of the placeholder- Returns:
- Value of the placeholder with the given index
- Throws:
IllegalArgumentException- if placeholder index is out of bounds (fewer values than placeholders)
-
size
public int size()Get overall amount of the given values
-