Interface ColumnSchema
public interface ColumnSchema
-
Method Summary
Modifier and TypeMethodDescriptionlong
Total number of columnsGet all columns metadata.int
indexOfColumn
(Column column) Retrieve column index based on column metadataindexOfColumnName
(String columnName) Retrieve column index based on column name.
-
Method Details
-
getColumns
Get all columns metadata.- Returns:
- columns metadata
-
indexOfColumnName
Retrieve column index based on column name.- Parameters:
columnName
-- Returns:
- column index or empty if column is not found
-
indexOfColumn
Retrieve column index based on column metadata- Parameters:
column
- metadata- Returns:
- column index or empty if column is not found
-
columnsCount
long columnsCount()Total number of columns- Returns:
- total number of columns
-