Package org.voltdb
Class VoltTable.ColumnInfo
java.lang.Object
org.voltdb.VoltTable.ColumnInfo
- All Implemented Interfaces:
- Cloneable
- Enclosing class:
- VoltTable
Object that represents the name and schema for a VoltTable column.
 Primarily used to construct in the constructor VoltTable(ColumnInfo...)
 and VoltTable(ColumnInfo[], int).
Example:
 VoltTable t = new VoltTable(
 
     new ColumnInfo("foo", VoltType.INTEGER),
 new ColumnInfo("bar", VoltType.STRING));
Note: VoltDB current supports ASCII encoded column names only. Column values are still UTF-8 encoded.
- 
Constructor SummaryConstructorsConstructorDescriptionColumnInfo(String name, VoltType type) Construct an immutableColumnInfoinstance.
- 
Method Summary
- 
Constructor Details- 
ColumnInfoConstruct an immutableColumnInfoinstance.- Parameters:
- name- The name of the column (ASCII).
- type- The type of the column. Note that not all types are supported (such as- VoltType.INVALIDor- VoltType.NUMERIC.
 
 
- 
- 
Method Details