@Immutable public class ColumnDefinitionsImpl extends java.lang.Object implements ColumnDefinitions
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.String columnName)
Indicates whether this metadata contains the specified column.
|
ColumnDefinition |
getColumnDefinition(int i)
Returns the i-ith column definition.
|
ColumnDefinition |
getColumnDefinition(java.lang.String columnName)
Returns the column definition for the specified column.
|
java.util.Set<java.lang.String> |
getColumnNames()
Returns the column names of the column definitions contained in this metadata.
|
int |
size()
Returns the number of the column definitions contained in this metadata.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
iterator
public ColumnDefinition getColumnDefinition(java.lang.String columnName)
ColumnDefinitions
getColumnDefinition
in interface ColumnDefinitions
columnName
- a column namepublic ColumnDefinition getColumnDefinition(int i)
ColumnDefinitions
getColumnDefinition
in interface ColumnDefinitions
i
- the position of the column definitionspublic boolean contains(java.lang.String columnName)
ColumnDefinitions
contains
in interface ColumnDefinitions
columnName
- a column namepublic java.util.Set<java.lang.String> getColumnNames()
ColumnDefinitions
getColumnNames
in interface ColumnDefinitions
public int size()
ColumnDefinitions
size
in interface ColumnDefinitions