Modifier and Type | Interface and Description |
---|---|
interface |
NumericColumn
Functionality common to all numeric column types
|
Modifier and Type | Class and Description |
---|---|
class |
BooleanColumn
A column in a base table that contains float values
|
class |
CategoryColumn
A column that contains String values.
|
class |
DateColumn
A column in a base table that contains float values
|
class |
DateTimeColumn
A column in a table that contains long-integer encoded (packed) local date-time values
|
class |
DoubleColumn
A column in a base table that contains double precision floating point values
|
class |
FloatColumn
A column in a base table that contains float values
|
class |
IntColumn
A column that contains signed 4 byte integer values
|
class |
LongColumn
A column that contains signed 8 byte integer values
|
class |
ShortColumn
A column that contains signed 2 byte integer values
|
class |
TimeColumn
A column in a base table that contains float values
|
Modifier and Type | Method and Description |
---|---|
Column |
Table.column(int columnIndex)
Returns the column at the given index in the column list
|
Column |
Table.getAndRemoveColumn(int columnIndex)
Removes the given column from this table and returns it
|
Column |
Table.getAndRemoveColumn(String columnName)
Removes the given column from this table and returns it
|
Modifier and Type | Method and Description |
---|---|
List<Column> |
Table.columns()
Returns the list of columns
|
List<Column> |
Table.columns(String... columnNames)
Returns only the columns whose names are given in the input array
|
Modifier and Type | Method and Description |
---|---|
void |
Table.addColumn(Column... cols)
Adds the given column to this table
|
void |
Table.addColumn(int index,
Column column)
Adds the given column to this table at the given position in the column list
|
void |
BooleanColumn.append(Column column) |
void |
DateColumn.append(Column column) |
void |
DateTimeColumn.append(Column column) |
void |
IntColumn.append(Column column) |
void |
DoubleColumn.append(Column column) |
void |
ShortColumn.append(Column column) |
void |
LongColumn.append(Column column) |
void |
CategoryColumn.append(Column column) |
void |
FloatColumn.append(Column column) |
void |
TimeColumn.append(Column column) |
int |
Table.columnIndex(Column column)
Returns the index of the given column (its position in the list of columns)
|
static Table |
Table.create(String tableName,
Column... columns)
Returns a new table with the given columns and given name
|
int |
Table.getFirst(Column column,
String value)
Returns the first row for which the column
columnName contains value , or
null if there are no matches
TODO(lwhite) This is a toy implementation badly in need of rewrite for performance. |
void |
Table.removeColumns(Column... columns)
Removes the given columns
|
void |
Table.retainColumns(Column... columns)
Removes the given columns from this table
|
ViewGroup |
Table.splitOn(Column... columns) |
Constructor and Description |
---|
Table(String name,
Column... columns)
Returns a new Table initialized with the given names and columns
|
Modifier and Type | Method and Description |
---|---|
Table |
Kmeans.clustered(Column labels) |
Modifier and Type | Interface and Description |
---|---|
interface |
BooleanColumnUtils |
interface |
CategoryColumnUtils |
interface |
DateColumnUtils |
interface |
DateTimeColumnUtils |
interface |
DoubleColumnUtils |
interface |
FloatColumnUtils |
interface |
IntColumnUtils |
interface |
LongColumnUtils
Pre-made predicates for common integer use cases, and other helpful things
|
interface |
ShortColumnUtils |
interface |
TimeColumnUtils |
Modifier and Type | Class and Description |
---|---|
class |
AbstractColumn
Partial implementation of the
Column interface |
Modifier and Type | Method and Description |
---|---|
Column |
Column.copy()
Returns a deep copy of the receiver
|
Column |
AbstractColumn.difference() |
Column |
Column.difference()
Returns a new column of the same type as the receiver, such that the values in the new column
contain the difference between each cell in the original and it's predecessor.
|
Column |
Column.emptyCopy()
Returns a copy of the receiver with no data.
|
Column |
Column.emptyCopy(int rowSize)
Returns an empty copy of the receiver, with its internal storage initialized to the given row size
|
default Column |
Column.first(int numRows) |
default Column |
Column.last(int numRows) |
default Column |
Column.subset(Selection rows) |
Column |
Column.unique()
Returns a column of the same type as the receiver, containing only the unique values of the receiver
|
Modifier and Type | Method and Description |
---|---|
void |
Column.append(Column column) |
Modifier and Type | Interface and Description |
---|---|
interface |
CategoryFilters |
Modifier and Type | Method and Description |
---|---|
static Column |
TypeUtils.newColumn(String name,
ColumnType type)
Constructs and returns a column for the given
name and type |
Modifier and Type | Method and Description |
---|---|
static void |
CsvWriter.write(String fileName,
Column column)
Writes the given column to a file with the given fileName as a single column CSV file
|
Modifier and Type | Interface and Description |
---|---|
interface |
BooleanMapUtils
An interface for mapping operations unique to Boolean columns
|
interface |
DateMapUtils
An interface for mapping operations unique to Date columns
|
interface |
DateTimeMapUtils |
interface |
IntMapUtils |
interface |
LongMapUtils |
interface |
ShortMapUtils |
interface |
StringMapUtils |
interface |
TimeMapUtils |
Modifier and Type | Method and Description |
---|---|
default Column |
StringMapUtils.distance(Column column2)
Returns a column containing the levenshtein distance between the two given string columns
|
Modifier and Type | Method and Description |
---|---|
default CategoryColumn |
StringMapUtils.commonPrefix(Column column2) |
default CategoryColumn |
StringMapUtils.commonSuffix(Column column2) |
static String |
DateMapUtils.dateColumnName(Column column1,
int value,
TemporalUnit unit) |
default Column |
StringMapUtils.distance(Column column2)
Returns a column containing the levenshtein distance between the two given string columns
|
default CategoryColumn |
StringMapUtils.join(Column column2,
String delimiter) |
Modifier and Type | Interface and Description |
---|---|
interface |
CategoryReduceUtils |
Modifier and Type | Method and Description |
---|---|
static Table |
CrossTab.xCount(Table table,
Column column1,
Column column2) |
static Table |
CrossTab.xTabCount(Table table,
Column column1,
Column column2)
Returns a table containing two-dimensional cross-tabulated counts for each combination of values in
column1 and column2 |
static Table |
CrossTab.xTabCount(Table table,
DateColumn column1,
Column column2) |
Constructor and Description |
---|
ColumnMetadata(Column column) |
Modifier and Type | Method and Description |
---|---|
abstract Column |
Relation.column(int columnIndex)
Returns the column at columnIndex (0-based)
|
Column |
TemporaryView.column(int columnIndex) |
Column |
Relation.column(String columnName)
Returns the column with the given columnName, ignoring case
|
Modifier and Type | Method and Description |
---|---|
abstract List<Column> |
Relation.columns()
Returns a list of all the columns in the relation
|
List<Column> |
TemporaryView.columns() |
Modifier and Type | Method and Description |
---|---|
abstract void |
Relation.addColumn(Column... cols) |
void |
TemporaryView.addColumn(Column... column) |
abstract int |
Relation.columnIndex(Column col)
Returns the index of the given column
|
int |
TemporaryView.columnIndex(Column column) |
abstract void |
Relation.removeColumns(Column... columns)
Removes the given columns from the receiver
|
void |
TemporaryView.removeColumns(Column... columns) |
Constructor and Description |
---|
TableGroup(Table original,
Column... columns) |
ViewGroup(Table original,
Column... columns) |
Copyright © 2017. All rights reserved.