Package | Description |
---|---|
Aggregation | |
PrologDB |
Modifier and Type | Field and Description |
---|---|
protected Column[] |
Reducer.accCols |
Modifier and Type | Method and Description |
---|---|
Column[] |
Reducer.getColumns() |
Modifier and Type | Method and Description |
---|---|
Column |
TableSchema.getColumn(int i)
returns the ith Column definition of the table; throws RuntimeError if i
is out of bounds.
|
Column |
TableSchema.getColumn(java.lang.String name) |
Column |
TableSchema.getColumnEH(java.lang.String name) |
static Column[] |
Column.New(java.lang.String... names) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Column> |
Table.getColumns()
returns list of columns of the tbl; delegates to getColumns of
TableSchema
|
java.util.List<Column> |
TableSchema.getColumns()
returns list of columns of a TableSchema
|
java.util.List<Column> |
Tuple.getColumns()
Method delegates to TableSchema.getColumns()
|
java.util.List<Column> |
TableSchema.getUnInheritedColumns() |
Modifier and Type | Method and Description |
---|---|
TableSchema |
TableSchema.add(Column... columns) |
TableSchema |
TableSchema.add(Column c)
add a new column c to 'this' TableSchema; new column is appended to the
existing list of columns
Error is thrown if columns with duplicate names are detected
|
TableSchema |
TableSchema.addFirst(Column... columns)
place an array of columns before existing columns of 'this' schema
|
TableSchema |
TableSchema.addFirst(Column c)
add column c as the first of 'this' schema
|
boolean |
Column.equals(Column otherColumn)
returns true if 'this' column equals the given otherColumn.
|
java.lang.String |
Tuple.get(Column c) |
Modifier and Type | Method and Description |
---|---|
Tuple |
Tuple.copy(Tuple from,
java.util.List<Column> columns)
copies selected column values from existing tuple
|
Table |
Table.project(java.util.List<Column> cols)
project Table to a list of cols
|
Constructor and Description |
---|
Column(Column c)
copy Column constructor
|
Column(Column c,
java.lang.String newName)
rename constructor
|
Constructor and Description |
---|
TableSchema(java.lang.String name,
java.util.List<Column> cols)
create table schema with given schemaName and given set of columns
|