Package app.babylon.table
Class TableColumnarDb
java.lang.Object
app.babylon.table.TableColumnarDb
- All Implemented Interfaces:
Table,TableColumnar
Materialised table built directly from a caller-owned
ResultSet.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TableColumnarDb.Builderbuilder()columns()booleanget(ColumnName x) <T> ColumnCategorical<T> <T> ColumnCategorical<T> getCategorical(ColumnName x, Column.Type type) intColumn[]getColumns(Map<ColumnName, Column> x, ColumnName... columnNames) <T extends Enum<T>>
ColumnCategorical<T> getInt(ColumnName x) getName()<T> ColumnObject<T> getObject(ColumnName x, Column.Type type) getRow(int i) intprune()Removes columns that contain no set values.removeColumns(ColumnName... x) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface app.babylon.table.TableColumnar
apply, apply, apply, filter, getColumns, getType, groupBy, select, select, sort, sort, toString, toString10, toString10, toStringRow
-
Method Details
-
builder
-
getName
-
getColumnNames
- Specified by:
getColumnNamesin interfaceTableColumnar
-
getColumnNames
-
getColumnCount
public int getColumnCount() -
getRowCount
public int getRowCount() -
get
-
contains
-
getColumns
-
removeColumns
-
getDescription
- Specified by:
getDescriptionin interfaceTable
-
getInt
- Specified by:
getIntin interfaceTableColumnar
-
getDouble
- Specified by:
getDoublein interfaceTableColumnar
-
getLong
- Specified by:
getLongin interfaceTableColumnar
-
columns
- Specified by:
columnsin interfaceTableColumnar
-
getObject
- Specified by:
getObjectin interfaceTableColumnar
-
getString
- Specified by:
getStringin interfaceTableColumnar
-
getDecimal
- Specified by:
getDecimalin interfaceTableColumnar
-
getEnum
- Specified by:
getEnumin interfaceTableColumnar
-
getCategorical
- Specified by:
getCategoricalin interfaceTableColumnar
-
getCategorical
- Specified by:
getCategoricalin interfaceTableColumnar
-
toString
-
getRow
- Specified by:
getRowin interfaceTable- Specified by:
getRowin interfaceTableColumnar
-
getLastRow
- Specified by:
getLastRowin interfaceTable- Specified by:
getLastRowin interfaceTableColumnar
-
getFirstRow
- Specified by:
getFirstRowin interfaceTable- Specified by:
getFirstRowin interfaceTableColumnar
-
getColumns
- Specified by:
getColumnsin interfaceTableColumnar
-
replace
- Specified by:
replacein interfaceTableColumnar
-
add
- Specified by:
addin interfaceTableColumnar
-
prune
Description copied from interface:TableColumnarRemoves columns that contain no set values.- Specified by:
prunein interfaceTableColumnar
-