| Package | Description |
|---|---|
| tech.bitey.dataframe | |
| tech.bitey.dataframe.db |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BooleanColumn
|
interface |
ByteColumn
|
interface |
DateColumn
|
interface |
DateTimeColumn
A
Column with element type LocalDateTime. |
interface |
DecimalColumn
A
Column with element type BigDecimal. |
interface |
DoubleColumn
|
interface |
FloatColumn
|
interface |
IntColumn
|
interface |
LongColumn
|
interface |
NumericColumn<E extends Number>
A
Column with a numeric element type. |
interface |
ShortColumn
|
interface |
StringColumn
|
| Modifier and Type | Class and Description |
|---|---|
class |
EnumColumn<T extends Enum<T>>
An
EnumColumn is a view wrapping a ByteColumn, with the
byte values interpreted as ordinals of the specified enum type. |
| Modifier and Type | Method and Description |
|---|---|
Column<E> |
Column.append(Column<E> tail)
Appends two columns with the same element type.
|
default Column<E> |
Column.append(Column<E> tail,
boolean coerce)
Appends two columns with the same element type.
|
Column<E> |
ColumnBuilder.build()
Returns a newly-created
Column based on the contents of this builder. |
<T> Column<T> |
DataFrame.column(int columnIndex)
Returns the
Column at the specified index. |
<T> Column<T> |
DataFrame.column(String columnName)
Returns the specified
Column |
Column<E> |
Column.copy()
Returns a column equal to this one, but with elements stored in a newly
allocated buffer.
|
<T> Column<T> |
DataFrame.deriveColumn(ColumnType<T> type,
Function<Row,T> function)
Derive a new
Column from the rows of this dataframe. |
Column<E> |
Column.head(E toElement)
Same behavior as
head(Object, boolean), with inclusive set
to false. |
Column<E> |
Column.head(E toElement,
boolean inclusive)
Returns a view of the portion of this column whose elements are less than (or
equal to, if
inclusive is true) toElement. |
Column<?> |
ColumnType.nullColumn(int size)
Returns a
Column of the corresponding type that only contains nulls. |
Column<E> |
Column.subColumn(int fromIndex,
int toIndex)
Returns a view of the portion of this column between the specified
fromIndex, inclusive, and toIndex, exclusive.
|
Column<E> |
Column.subColumnByValue(E fromElement,
boolean fromInclusive,
E toElement,
boolean toInclusive)
Returns a view of the portion of this column whose elements range from
fromElement to toElement. |
Column<E> |
Column.subColumnByValue(E fromElement,
E toElement)
Same behavior as
Column#subColumn(Object, boolean, Object, Boolean),
with fromInclusive set to true and toInclusive set to false. |
Column<E> |
Column.tail(E fromElement)
Same behavior as
tail(Object, boolean), with inclusive set
to true. |
Column<E> |
Column.tail(E fromElement,
boolean inclusive)
Returns a view of the portion of this column whose elements are greater than
(or equal to, if
inclusive is true) fromElement. |
Column<E> |
Column.toDistinct()
Converts a column to a unique index.
|
Column<E> |
Column.toHeap()
Converts an index into a heap.
|
Column<E> |
Column.toSorted()
Converts a heap to an index.
|
| Modifier and Type | Method and Description |
|---|---|
LinkedHashMap<String,Column<?>> |
DataFrame.columnMap()
Returns an ordered map where the entries are (name, column) pairs.
|
List<Column<?>> |
DataFrame.columns()
Returns a list of columns in this dataframe.
|
| Modifier and Type | Method and Description |
|---|---|
DecimalColumn |
DecimalColumn.append(Column<BigDecimal> tail) |
BooleanColumn |
BooleanColumn.append(Column<Boolean> tail) |
ByteColumn |
ByteColumn.append(Column<Byte> tail) |
DoubleColumn |
DoubleColumn.append(Column<Double> tail) |
Column<E> |
Column.append(Column<E> tail)
Appends two columns with the same element type.
|
default Column<E> |
Column.append(Column<E> tail,
boolean coerce)
Appends two columns with the same element type.
|
FloatColumn |
FloatColumn.append(Column<Float> tail) |
IntColumn |
IntColumn.append(Column<Integer> tail) |
DateColumn |
DateColumn.append(Column<LocalDate> tail) |
DateTimeColumn |
DateTimeColumn.append(Column<LocalDateTime> tail) |
LongColumn |
LongColumn.append(Column<Long> tail) |
ShortColumn |
ShortColumn.append(Column<Short> tail) |
StringColumn |
StringColumn.append(Column<String> tail) |
EnumColumn<T> |
EnumColumn.append(Column<T> tail) |
static DataFrame |
DataFrameFactory.create(Column<?>[] columns,
String[] columnNames)
|
static DataFrame |
DataFrameFactory.create(Column<?>[] columns,
String[] columnNames,
String keyColumnName)
|
DataFrame |
DataFrame.withColumn(String columnName,
Column<?> column)
Returns a new dataframe which is a shallow copy of this one, but including
the specified column and column name.
|
DataFrame |
DataFrame.withColumns(String[] columnNames,
Column<?>[] columns)
Returns a new dataframe which is a shallow copy of this one, but including
the specified columns and column names.
|
| Modifier and Type | Method and Description |
|---|---|
static DataFrame |
DataFrameFactory.create(LinkedHashMap<String,Column<?>> columnMap)
|
static DataFrame |
DataFrameFactory.create(LinkedHashMap<String,Column<?>> columnMap,
String keyColumnName)
|
static DataFrame |
DataFrameFactory.create(List<Column<?>> columns,
List<String> columnNames)
|
static DataFrame |
DataFrameFactory.create(List<Column<?>> columns,
List<String> columnNames,
String keyColumnName)
|
DataFrame |
DataFrame.withColumns(LinkedHashMap<String,Column<?>> columns)
Returns a new dataframe which is a shallow copy of this one, but including
the specified columns and column names.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IToPreparedStatement<C extends Column<?>> |
Copyright © 2020. All rights reserved.