public abstract class AbstractColumn extends Object implements Column
Column interface| Constructor 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, waitappend, asBytes, byteSize, clear, copy, countMissing, countUnique, emptyCopy, emptyCopy, first, first, getString, isEmpty, isMissing, isNotMissing, last, last, print, rowComparator, size, sortAscending, sortDescending, subset, summary, title, toDoubleArray, type, uniquepublic AbstractColumn(String name)
public AbstractColumn(ColumnMetadata metadata)
public String id()
Columnpublic String metadata()
Columnpublic void setName(String name)
public abstract void appendCell(String stringvalue)
appendCell in interface Columnpublic void setComment(String comment)
setComment in interface Columnpublic ColumnMetadata columnMetadata()
columnMetadata in interface Columnpublic int columnWidth()
columnWidth in interface Columnpublic Column difference()
Columndifference in interface ColumnCopyright © 2017. All rights reserved.