| Modifier and Type | Class and Description |
|---|---|
class |
DataFrameColumn<T extends Comparable<T>,C extends DataFrameColumn<T,C>>
Created by Alex on 11.03.2016.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Comparable<T>,C extends DataFrameColumn<T,C>> |
DataFrame.addColumn(Class<C> type,
String name,
ColumnAppender<T> appender)
Creates and adds a column to this data frame based on a provided column class.
|
<T extends Comparable<T>,C extends DataFrameColumn<T,C>> |
DataFrame.addColumn(Class<T> type,
String name,
ColumnTypeMap columnTypeMap,
ColumnAppender<T> appender)
Creates and adds a new column based on a specified column value type and a
ColumnTypeMap. |
<T extends Comparable<T>,C extends DataFrameColumn<T,C>> |
ColumnTypeMap.addType(Class<T> type,
Class<C> columnType)
Adds a new column type for a column value type
|
<T extends DataFrameColumn> |
DataFrame.getColumn(String name,
Class<T> cl)
Returns a column as a specified column type.
|
<T extends Comparable<T>,C extends DataFrameColumn<T,C>> |
ColumnTypeMap.getColumnType(Class<T> type)
Returns a data frame column for a provided column value type
|
<R extends DataFrameColumn<?,R>> |
DataFrameColumn.transform(ColumnTransform<C,R> transformer)
Used to apply transformations on a column
|
| Modifier and Type | Method and Description |
|---|---|
DataFrameColumn |
DataFrame.getColumn(String name)
Returns a column based on its name
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,DataFrameColumn> |
DataFrameLoader.createColumns(DataFrameMeta dataFrameMeta)
Creates the columns from a data frame meta information
|
Collection<DataFrameColumn> |
DataFrame.getColumns()
Returns a collection of all columns in this data frame
|
| Modifier and Type | Method and Description |
|---|---|
DataFrameHeader |
DataFrameHeader.add(DataFrameColumn<?,?> column)
Adds a new data frame column to this header
|
DataFrameBuilder |
DataFrameBuilder.addColumn(DataFrameColumn column)
Adds a new column to the builder.
|
DataFrame |
DataFrame.addColumn(DataFrameColumn column)
Adds a column to the data frame.
|
DataFrameBuilder |
DataFrameBuilder.addColumn(String header,
DataFrameColumn column)
Adds a new column to the builder and defines the name of the column in the parent data container.
|
DataFrame |
DataFrame.addColumns(DataFrameColumn... columns)
Adds an array of columns to this data frame
|
DataFrame |
DataFrame.addIndex(String indexName,
DataFrameColumn... columns)
Adds a new index based on one or multiple index columns.
|
boolean |
DataFrame.containsColumn(DataFrameColumn column)
Returns true if this data frame contains the input column
|
boolean |
DataFrame.isIndexColumn(DataFrameColumn column)
Returns true if the input column is part of at least one index
|
protected void |
DataFrame.notifyColumnChanged(DataFrameColumn column)
Notifies this data frame about a changed column.
|
protected void |
DataFrame.notifyColumnValueChanged(DataFrameColumn column,
int index,
Comparable value)
Notifies this data frame about a changed value in a column.
|
DataFrame |
DataFrame.removeColumn(DataFrameColumn column)
Removes a column from this data frame
|
DataFrame |
DataFrame.setPrimaryKey(DataFrameColumn... cols)
Sets the primary key columns using column objects
|
| Modifier and Type | Method and Description |
|---|---|
DataFrame |
DataFrame.addColumns(Collection<DataFrameColumn> columns)
Adds a collection of columns to this data frame
|
static DataFrame |
DataFrameConverter.fromDataContainer(DataContainer<?,?> reader,
Map<String,DataFrameColumn> columns)
Converts a parent data container to a data frame.
|
static DataFrame |
DataFrameConverter.fromDataContainer(DataContainer<?,?> reader,
Map<String,DataFrameColumn> columns,
FilterPredicate filterPredicate)
Converts a parent data container to a data frame.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicColumn<T extends Comparable<T>,C extends BasicColumn<T,C>>
Created by Alex on 09.03.2016.
|
class |
BooleanColumn
Created by Alex on 09.03.2016.
|
class |
ByteColumn
Created by Alex on 09.03.2016.
|
class |
DoubleColumn
Created by Alex on 09.03.2016.
|
class |
FloatColumn
Created by Alex on 09.03.2016.
|
class |
IntegerColumn
Created by Alex on 09.03.2016.
|
class |
LongColumn
Created by Alex on 09.03.2016.
|
class |
NumberColumn<T extends Number & Comparable<T>,C extends NumberColumn<T,C>>
Created by Alex on 11.03.2016.
|
class |
ShortColumn
Created by Alex on 09.03.2016.
|
class |
StringColumn
Created by Alex on 09.03.2016.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends DataFrameColumn> |
BasicTypeHeader.getColumnType(int index)
Returns the column class for a column index
|
Class<? extends DataFrameColumn> |
BasicTypeHeader.getColumnType(T name)
Returns the column class for an input column name
|
| Modifier and Type | Method and Description |
|---|---|
BasicTypeHeader |
BasicTypeHeader.add(T headerName,
DataFrameColumn<?,?> column)
Adds a new data frame column to this header
|
| Modifier and Type | Method and Description |
|---|---|
BasicTypeHeader |
BasicTypeHeader.add(T name,
Class<? extends DataFrameColumn> colClass,
Class<? extends Comparable> type)
Adds a new header entry based on column name, column class and column value type.
|
| Modifier and Type | Method and Description |
|---|---|
List<DataFrameColumn> |
TreeIndex.getColumns() |
List<DataFrameColumn> |
Index.getColumns()
Returns the columns used in this index
|
| Modifier and Type | Method and Description |
|---|---|
void |
Indices.addIndex(String name,
boolean unique,
DataFrameColumn... columns)
Creates and adds a new index using one or more columns
|
void |
Indices.addIndex(String name,
DataFrameColumn... columns)
Creates and adds a new index using one or more columns
|
boolean |
TreeIndex.containsColumn(DataFrameColumn column) |
boolean |
Index.containsColumn(DataFrameColumn column)
Returns true if this index contains the specified column
|
boolean |
Indices.isIndexColumn(DataFrameColumn column)
Returns true if the specified column is part of at least one index.
|
void |
Indices.removeColumn(DataFrameColumn column)
Removes all indices that contain a certain column
|
void |
Indices.setPrimaryKey(DataFrameColumn... columns)
sets the primary key using one or more columns
|
void |
Indices.updateColumn(DataFrameColumn column)
Updates all indices that contain a certain row.
|
void |
Indices.updateValue(DataFrameColumn column,
DataRow dataRow)
Updates the specified in each index that contains the specified column
|
| Constructor and Description |
|---|
TreeIndex(String indexName,
boolean unique,
DataFrameColumn... columns)
Creates a multi index using more that one column
|
TreeIndex(String indexName,
DataFrameColumn... columns) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Class<? extends DataFrameColumn>> |
DataFrameMeta.getColumns()
Returns a map of the columns in the data frame.
|
| Constructor and Description |
|---|
DataFrameMeta(Map<String,Class<? extends DataFrameColumn>> columns,
Class<? extends ReaderBuilder> readerBuilderClass,
Map<String,String> attributes) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ColumnDataFrameTransform<I extends DataFrameColumn>
Created by algru on 06.09.2016.
|
interface |
ColumnTransform<I extends DataFrameColumn,R extends DataFrameColumn>
Created by algru on 06.09.2016.
|
interface |
ColumnTransform<I extends DataFrameColumn,R extends DataFrameColumn>
Created by algru on 06.09.2016.
|
| Modifier and Type | Method and Description |
|---|---|
<V extends Comparable<V>,C extends DataFrameColumn<V,C>> |
StringColumnConverter.convert(StringColumn column,
Class<C> colType)
Converts a StringColumn to a other column type by parsing all values
|
| Modifier and Type | Method and Description |
|---|---|
DataFrame |
CountTransformer.transform(DataFrameColumn<T,?> source)
Creates a new dataframe containing the values of the input column and a column with the corresponding counts
|
Copyright © 2017. All rights reserved.