Class DrillColumnMetaDataList

java.lang.Object
org.apache.drill.jdbc.impl.DrillColumnMetaDataList
All Implemented Interfaces:
Iterable<org.apache.calcite.avatica.ColumnMetaData>, Collection<org.apache.calcite.avatica.ColumnMetaData>, List<org.apache.calcite.avatica.ColumnMetaData>

public class DrillColumnMetaDataList extends Object
  • Constructor Details

    • DrillColumnMetaDataList

      public DrillColumnMetaDataList()
  • Method Details

    • size

      public int size()
    • get

      public org.apache.calcite.avatica.ColumnMetaData get(int index)
    • updateColumnMetaData

      public void updateColumnMetaData(List<UserProtos.ResultColumnMetadata> metadata)
      Update the metadata with given metadata received from server.
      Parameters:
      metadata -
    • updateColumnMetaData

      public void updateColumnMetaData(String catalogName, String schemaName, String tableName, BatchSchema schema, List<Class<?>> getObjectClasses)
    • contains

      public boolean contains(Object o)
      Specified by:
      contains in interface Collection<org.apache.calcite.avatica.ColumnMetaData>
      Specified by:
      contains in interface List<org.apache.calcite.avatica.ColumnMetaData>
    • iterator

      public Iterator<org.apache.calcite.avatica.ColumnMetaData> iterator()
      Specified by:
      iterator in interface Collection<org.apache.calcite.avatica.ColumnMetaData>
      Specified by:
      iterator in interface Iterable<org.apache.calcite.avatica.ColumnMetaData>
      Specified by:
      iterator in interface List<org.apache.calcite.avatica.ColumnMetaData>
    • toArray

      public Object[] toArray()
      Specified by:
      toArray in interface Collection<org.apache.calcite.avatica.ColumnMetaData>
      Specified by:
      toArray in interface List<org.apache.calcite.avatica.ColumnMetaData>
    • toArray

      public <T> T[] toArray(T[] a)
      Specified by:
      toArray in interface Collection<org.apache.calcite.avatica.ColumnMetaData>
      Specified by:
      toArray in interface List<org.apache.calcite.avatica.ColumnMetaData>
    • containsAll

      public boolean containsAll(Collection<?> c)
      Specified by:
      containsAll in interface Collection<org.apache.calcite.avatica.ColumnMetaData>
      Specified by:
      containsAll in interface List<org.apache.calcite.avatica.ColumnMetaData>
    • indexOf

      public int indexOf(Object o)
      Specified by:
      indexOf in interface List<org.apache.calcite.avatica.ColumnMetaData>
    • lastIndexOf

      public int lastIndexOf(Object o)
      Specified by:
      lastIndexOf in interface List<org.apache.calcite.avatica.ColumnMetaData>
    • listIterator

      public ListIterator<org.apache.calcite.avatica.ColumnMetaData> listIterator()
      Specified by:
      listIterator in interface List<org.apache.calcite.avatica.ColumnMetaData>
    • listIterator

      public ListIterator<org.apache.calcite.avatica.ColumnMetaData> listIterator(int index)
      Specified by:
      listIterator in interface List<org.apache.calcite.avatica.ColumnMetaData>
    • subList

      public List<org.apache.calcite.avatica.ColumnMetaData> subList(int fromIndex, int toIndex)
      Specified by:
      subList in interface List<org.apache.calcite.avatica.ColumnMetaData>
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface Collection<T>
      Specified by:
      isEmpty in interface List<T>
    • add

      public boolean add(org.apache.calcite.avatica.ColumnMetaData e)
      Specified by:
      add in interface Collection<T>
      Specified by:
      add in interface List<T>
    • remove

      public boolean remove(Object o)
      Specified by:
      remove in interface Collection<T>
      Specified by:
      remove in interface List<T>
    • addAll

      public boolean addAll(Collection<? extends org.apache.calcite.avatica.ColumnMetaData> c)
      Specified by:
      addAll in interface Collection<T>
      Specified by:
      addAll in interface List<T>
    • addAll

      public boolean addAll(int index, Collection<? extends org.apache.calcite.avatica.ColumnMetaData> c)
      Specified by:
      addAll in interface List<T>
    • removeAll

      public boolean removeAll(Collection<?> c)
      Specified by:
      removeAll in interface Collection<T>
      Specified by:
      removeAll in interface List<T>
    • retainAll

      public boolean retainAll(Collection<?> c)
      Specified by:
      retainAll in interface Collection<T>
      Specified by:
      retainAll in interface List<T>
    • clear

      public void clear()
      Specified by:
      clear in interface Collection<T>
      Specified by:
      clear in interface List<T>
    • set

      public org.apache.calcite.avatica.ColumnMetaData set(int index, org.apache.calcite.avatica.ColumnMetaData element)
      Specified by:
      set in interface List<T>
    • add

      public void add(int index, org.apache.calcite.avatica.ColumnMetaData element)
      Specified by:
      add in interface List<T>
    • remove

      public org.apache.calcite.avatica.ColumnMetaData remove(int index)
      Specified by:
      remove in interface List<T>