Class BinaryStreamReader.ArrayValue

java.lang.Object
com.clickhouse.client.api.data_formats.internal.BinaryStreamReader.ArrayValue
Enclosing class:
BinaryStreamReader

public static class BinaryStreamReader.ArrayValue extends Object
  • Constructor Details

    • ArrayValue

      public ArrayValue(Class<?> itemType, int length)
  • Method Details

    • length

      public int length()
    • get

      public Object get(int index)
    • set

      public void set(int index, Object value)
    • append

      public boolean append(Object value)
    • asList

      public <T> List<T> asList()
    • getArray

      public Object getArray()
      Returns internal array. This method is only useful to work with array of primitives (int[], boolean[]). Otherwise use getArrayOfObjects()
      Returns:
    • getArrayOfObjects

      public Object[] getArrayOfObjects()
      Returns array of objects. If item type is primitive then all elements will be converted into objects.
      Returns: