Package org.apache.drill.jdbc.impl
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>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(int index, org.apache.calcite.avatica.ColumnMetaData element) boolean
add
(org.apache.calcite.avatica.ColumnMetaData e) boolean
addAll
(int index, Collection<? extends org.apache.calcite.avatica.ColumnMetaData> c) boolean
addAll
(Collection<? extends org.apache.calcite.avatica.ColumnMetaData> c) void
clear()
boolean
boolean
containsAll
(Collection<?> c) org.apache.calcite.avatica.ColumnMetaData
get
(int index) int
boolean
isEmpty()
Iterator<org.apache.calcite.avatica.ColumnMetaData>
iterator()
int
ListIterator<org.apache.calcite.avatica.ColumnMetaData>
ListIterator<org.apache.calcite.avatica.ColumnMetaData>
listIterator
(int index) org.apache.calcite.avatica.ColumnMetaData
remove
(int index) boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) org.apache.calcite.avatica.ColumnMetaData
set
(int index, org.apache.calcite.avatica.ColumnMetaData element) int
size()
List<org.apache.calcite.avatica.ColumnMetaData>
subList
(int fromIndex, int toIndex) Object[]
toArray()
<T> T[]
toArray
(T[] a) void
updateColumnMetaData
(String catalogName, String schemaName, String tableName, BatchSchema schema, List<Class<?>> getObjectClasses) void
Update the metadata with given metadata received from server.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Constructor Details
-
DrillColumnMetaDataList
public DrillColumnMetaDataList()
-
-
Method Details
-
size
public int size() -
get
public org.apache.calcite.avatica.ColumnMetaData get(int index) -
updateColumnMetaData
Update the metadata with given metadata received from server.- Parameters:
metadata
-
-
updateColumnMetaData
-
contains
- Specified by:
contains
in interfaceCollection<org.apache.calcite.avatica.ColumnMetaData>
- Specified by:
contains
in interfaceList<org.apache.calcite.avatica.ColumnMetaData>
-
iterator
-
toArray
- Specified by:
toArray
in interfaceCollection<org.apache.calcite.avatica.ColumnMetaData>
- Specified by:
toArray
in interfaceList<org.apache.calcite.avatica.ColumnMetaData>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArray
in interfaceCollection<org.apache.calcite.avatica.ColumnMetaData>
- Specified by:
toArray
in interfaceList<org.apache.calcite.avatica.ColumnMetaData>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<org.apache.calcite.avatica.ColumnMetaData>
- Specified by:
containsAll
in interfaceList<org.apache.calcite.avatica.ColumnMetaData>
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<org.apache.calcite.avatica.ColumnMetaData>
-
listIterator
- Specified by:
listIterator
in interfaceList<org.apache.calcite.avatica.ColumnMetaData>
-
listIterator
- Specified by:
listIterator
in interfaceList<org.apache.calcite.avatica.ColumnMetaData>
-
subList
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<T>
- Specified by:
isEmpty
in interfaceList<T>
-
add
public boolean add(org.apache.calcite.avatica.ColumnMetaData e) - Specified by:
add
in interfaceCollection<T>
- Specified by:
add
in interfaceList<T>
-
remove
- Specified by:
remove
in interfaceCollection<T>
- Specified by:
remove
in interfaceList<T>
-
addAll
- Specified by:
addAll
in interfaceCollection<T>
- Specified by:
addAll
in interfaceList<T>
-
addAll
-
removeAll
- Specified by:
removeAll
in interfaceCollection<T>
- Specified by:
removeAll
in interfaceList<T>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<T>
- Specified by:
retainAll
in interfaceList<T>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<T>
- Specified by:
clear
in interfaceList<T>
-
set
public org.apache.calcite.avatica.ColumnMetaData set(int index, org.apache.calcite.avatica.ColumnMetaData element) -
add
public void add(int index, org.apache.calcite.avatica.ColumnMetaData element) -
remove
public org.apache.calcite.avatica.ColumnMetaData remove(int index)
-