Class PlaceholderValues

java.lang.Object
com.aerospike.dsl.PlaceholderValues

public class PlaceholderValues extends Object
This class stores values to be matched with placeholders by indexes
  • Method Details

    • of

      public static PlaceholderValues of(Object... values)
      Create a new PlaceholderValues object with
    • getValue

      public Object getValue(int index)
      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