public class ColumnHolder extends Object
Modifier and Type | Field and Description |
---|---|
Object |
data |
boolean |
grouped |
String |
name |
Class |
type |
static ColumnHolder[] |
ZERO_LENGTH_COLUMN_HOLDER_ARRAY |
Constructor and Description |
---|
ColumnHolder(String name,
boolean grouped,
byte... data)
Construct a new set of column data.
|
ColumnHolder(String name,
boolean grouped,
char... data)
Construct a new set of column data.
|
ColumnHolder(String name,
boolean grouped,
double... data)
Construct a new set of column data.
|
ColumnHolder(String name,
boolean grouped,
float... data)
Construct a new set of column data.
|
ColumnHolder(String name,
boolean grouped,
int... data)
Construct a new set of column data.
|
ColumnHolder(String name,
boolean grouped,
long... data)
Construct a new set of column data.
|
ColumnHolder(String name,
boolean grouped,
short... data)
Construct a new set of column data.
|
ColumnHolder(String name,
boolean grouped,
T... data)
Construct a new set of column data.
|
Modifier and Type | Method and Description |
---|---|
ColumnSource |
getColumnSource()
Gets a column source for the data.
|
static ColumnHolder |
getDateTimeColumnHolder(String name,
boolean grouped,
long... data)
Create a column holder for a DateTime column where the values are represented as longs.
|
public static final ColumnHolder[] ZERO_LENGTH_COLUMN_HOLDER_ARRAY
public final String name
public final Class type
public final Object data
public final boolean grouped
public ColumnHolder(String name, boolean grouped, T... data)
T
- column element typename
- column namegrouped
- true if the column is grouped; false otherwisedata
- column datapublic ColumnHolder(String name, boolean grouped, long... data)
name
- column namegrouped
- true if the column is grouped; false otherwisedata
- column datapublic ColumnHolder(String name, boolean grouped, int... data)
name
- column namegrouped
- true if the column is grouped; false otherwisedata
- column datapublic ColumnHolder(String name, boolean grouped, short... data)
name
- column namegrouped
- true if the column is grouped; false otherwisedata
- column datapublic ColumnHolder(String name, boolean grouped, char... data)
name
- column namegrouped
- true if the column is grouped; false otherwisedata
- column datapublic ColumnHolder(String name, boolean grouped, byte... data)
name
- column namegrouped
- true if the column is grouped; false otherwisedata
- column datapublic ColumnHolder(String name, boolean grouped, double... data)
name
- column namegrouped
- true if the column is grouped; false otherwisedata
- column datapublic ColumnHolder(String name, boolean grouped, float... data)
name
- column namegrouped
- true if the column is grouped; false otherwisedata
- column datapublic static ColumnHolder getDateTimeColumnHolder(String name, boolean grouped, long... data)
ColumnHolder.getColumnSource()
).name
- column namegrouped
- true if the column is grouped; false otherwisedata
- column data (long integers representing nanos since the epoch)public ColumnSource getColumnSource()