public abstract class AbstractColumn extends Object implements Column
Column interface| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_ARRAY_SIZE |
| Constructor and Description |
|---|
AbstractColumn(ColumnType type,
String name) |
| Modifier and Type | Method and 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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappend, appendMissing, asBytes, asDoubleArray, 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, wherepublic static final int DEFAULT_ARRAY_SIZE
public AbstractColumn(ColumnType type, String name)
public Column setName(String name)
Columnpublic abstract Column appendCell(String stringvalue)
appendCell in interface Columnpublic int columnWidth()
columnWidth in interface Columnpublic ColumnType type()
Columntype in interface ColumnColumnTypeCopyright © 2018. All rights reserved.