Column
BooleanColumn
, DateColumn
, DateTimeColumn
, DoubleColumn
, StringColumn
, TimeColumn
public abstract class AbstractColumn extends Object implements Column
Column
interfaceModifier and Type | Field | Description |
---|---|---|
static int |
DEFAULT_ARRAY_SIZE |
Constructor | Description |
---|---|
AbstractColumn(ColumnType type,
String name) |
Modifier and Type | Method | Description |
---|---|---|
abstract Column |
appendCell(String stringvalue) |
|
int |
columnWidth() |
Returns the width of the column in characters, for printing
|
String |
name() |
Returns the column's name.
|
String |
print() |
TODO(lwhite): Print n from the top and bottom, like a table;
|
Column |
setName(String name) |
Sets the columns name to the given string
|
String |
toString() |
|
ColumnType |
type() |
Returns this column's ColumnType
|
append, appendMissing, asBytes, asDoubleArray, asObjectArray, byteSize, clear, copy, countMissing, countUnique, create, emptyCopy, emptyCopy, first, getDouble, getString, getUnformattedString, inRange, isEmpty, isMissing, isMissing, isNotMissing, lag, last, lead, removeMissing, rolling, rowComparator, rows, sampleN, sampleX, size, sortAscending, sortDescending, subset, summarizeIf, summary, title, unique, where
public static final int DEFAULT_ARRAY_SIZE
public AbstractColumn(ColumnType type, String name)
public Column setName(String name)
Column
public abstract Column appendCell(String stringvalue)
appendCell
in interface Column
public int columnWidth()
columnWidth
in interface Column
public ColumnType type()
Column
type
in interface Column
ColumnType
Copyright © 2018. All rights reserved.