public abstract class AbstractColumn extends Object implements Column
Column
interfaceConstructor and Description |
---|
AbstractColumn(ColumnMetadata metadata) |
AbstractColumn(String name) |
Modifier and Type | Method and Description |
---|---|
abstract void |
appendCell(String stringvalue) |
ColumnMetadata |
columnMetadata() |
int |
columnWidth()
Returns the width of the column in characters, for printing
|
String |
comment() |
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.
|
String |
id()
Returns a unique string that identifies this column.
|
String |
metadata()
Returns a String containing the column's metadata in json format.
|
String |
name()
Returns the column's name.
|
void |
setComment(String comment) |
void |
setName(String name)
Sets the columns name to the given string
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
append, asBytes, byteSize, clear, copy, countMissing, countUnique, emptyCopy, emptyCopy, first, first, getString, isEmpty, isMissing, isNotMissing, last, last, print, rolling, rowComparator, size, sortAscending, sortDescending, subset, summary, title, toDoubleArray, type, unique
public AbstractColumn(String name)
public AbstractColumn(ColumnMetadata metadata)
public String id()
Column
public String metadata()
Column
public void setName(String name)
public abstract void appendCell(String stringvalue)
appendCell
in interface Column
public void setComment(String comment)
setComment
in interface Column
public ColumnMetadata columnMetadata()
columnMetadata
in interface Column
public int columnWidth()
columnWidth
in interface Column
public Column difference()
Column
difference
in interface Column
Column
Copyright © 2017. All rights reserved.