Search in sources :

Example 51 with ColumnInfo

use of org.voltdb.VoltTable.ColumnInfo in project voltdb by VoltDB.

the class LatencyUncompressedHistogramStats method populateColumnSchema.

@Override
protected void populateColumnSchema(ArrayList<ColumnInfo> columns) {
    super.populateColumnSchema(columns);
    columns.add(new ColumnInfo("UNCOMPRESSED_HISTOGRAM", VoltType.VARBINARY));
}
Also used : ColumnInfo(org.voltdb.VoltTable.ColumnInfo)

Example 52 with ColumnInfo

use of org.voltdb.VoltTable.ColumnInfo in project voltdb by VoltDB.

the class IndexStats method populateColumnSchema.

// Generally we fill in this schema from the EE, but we'll provide
// this so that we can fill in an empty table before the EE has
// provided us with a table.  Make sure that any changes to the EE
// schema are reflected here (sigh).
@Override
protected void populateColumnSchema(ArrayList<ColumnInfo> columns) {
    super.populateColumnSchema(columns);
    columns.add(new ColumnInfo("PARTITION_ID", VoltType.BIGINT));
    columns.add(new ColumnInfo("INDEX_NAME", VoltType.STRING));
    columns.add(new ColumnInfo("TABLE_NAME", VoltType.STRING));
    columns.add(new ColumnInfo("INDEX_TYPE", VoltType.STRING));
    columns.add(new ColumnInfo("IS_UNIQUE", VoltType.TINYINT));
    columns.add(new ColumnInfo("IS_COUNTABLE", VoltType.TINYINT));
    columns.add(new ColumnInfo("ENTRY_COUNT", VoltType.BIGINT));
    columns.add(new ColumnInfo("MEMORY_ESTIMATE", VoltType.BIGINT));
}
Also used : ColumnInfo(org.voltdb.VoltTable.ColumnInfo)

Example 53 with ColumnInfo

use of org.voltdb.VoltTable.ColumnInfo in project voltdb by VoltDB.

the class IOStats method populateColumnSchema.

@Override
protected void populateColumnSchema(ArrayList<ColumnInfo> columns) {
    super.populateColumnSchema(columns);
    columns.add(new ColumnInfo("CONNECTION_ID", VoltType.BIGINT));
    columns.add(new ColumnInfo("CONNECTION_HOSTNAME", VoltType.STRING));
    columns.add(new ColumnInfo("BYTES_READ", VoltType.BIGINT));
    columns.add(new ColumnInfo("MESSAGES_READ", VoltType.BIGINT));
    columns.add(new ColumnInfo("BYTES_WRITTEN", VoltType.BIGINT));
    columns.add(new ColumnInfo("MESSAGES_WRITTEN", VoltType.BIGINT));
}
Also used : ColumnInfo(org.voltdb.VoltTable.ColumnInfo)

Example 54 with ColumnInfo

use of org.voltdb.VoltTable.ColumnInfo in project voltdb by VoltDB.

the class TableStats method populateColumnSchema.

// Generally we fill in this schema from the EE, but we'll provide
// this so that we can fill in an empty table before the EE has
// provided us with a table.  Make sure that any changes to the EE
// schema are reflected here (sigh).
@Override
protected void populateColumnSchema(ArrayList<ColumnInfo> columns) {
    super.populateColumnSchema(columns);
    columns.add(new ColumnInfo("PARTITION_ID", VoltType.BIGINT));
    columns.add(new ColumnInfo("TABLE_NAME", VoltType.STRING));
    columns.add(new ColumnInfo("TABLE_TYPE", VoltType.STRING));
    columns.add(new ColumnInfo("TUPLE_COUNT", VoltType.BIGINT));
    columns.add(new ColumnInfo("TUPLE_ALLOCATED_MEMORY", VoltType.BIGINT));
    columns.add(new ColumnInfo("TUPLE_DATA_MEMORY", VoltType.BIGINT));
    columns.add(new ColumnInfo("STRING_DATA_MEMORY", VoltType.BIGINT));
    columns.add(new ColumnInfo("TUPLE_LIMIT", VoltType.INTEGER));
    columns.add(new ColumnInfo("PERCENT_FULL", VoltType.INTEGER));
}
Also used : ColumnInfo(org.voltdb.VoltTable.ColumnInfo)

Example 55 with ColumnInfo

use of org.voltdb.VoltTable.ColumnInfo in project voltdb by VoltDB.

the class SnapshotStatus method populateColumnSchema.

@Override
protected void populateColumnSchema(ArrayList<ColumnInfo> columns) {
    super.populateColumnSchema(columns);
    columns.add(new ColumnInfo("TABLE", VoltType.STRING));
    columns.add(new ColumnInfo("PATH", VoltType.STRING));
    columns.add(new ColumnInfo("FILENAME", VoltType.STRING));
    columns.add(new ColumnInfo("NONCE", VoltType.STRING));
    columns.add(new ColumnInfo("TXNID", VoltType.BIGINT));
    columns.add(new ColumnInfo("START_TIME", VoltType.BIGINT));
    columns.add(new ColumnInfo("END_TIME", VoltType.BIGINT));
    columns.add(new ColumnInfo("SIZE", VoltType.BIGINT));
    columns.add(new ColumnInfo("DURATION", VoltType.BIGINT));
    columns.add(new ColumnInfo("THROUGHPUT", VoltType.FLOAT));
    columns.add(new ColumnInfo("RESULT", VoltType.STRING));
    columns.add(new ColumnInfo("TYPE", VoltType.STRING));
}
Also used : ColumnInfo(org.voltdb.VoltTable.ColumnInfo)

Aggregations

ColumnInfo (org.voltdb.VoltTable.ColumnInfo)84 VoltTable (org.voltdb.VoltTable)40 Client (org.voltdb.client.Client)17 HashMap (java.util.HashMap)10 ByteBuffer (java.nio.ByteBuffer)6 DependencyPair (org.voltdb.DependencyPair)6 BigDecimal (java.math.BigDecimal)5 ArrayList (java.util.ArrayList)5 TimestampType (org.voltdb.types.TimestampType)5 Test (org.junit.Test)4 CSVWriter (au.com.bytecode.opencsv_voltpatches.CSVWriter)2 Map (java.util.Map)2 JSONObject (org.json_voltpatches.JSONObject)2 CatalogContext (org.voltdb.CatalogContext)2 CatalogSpecificPlanner (org.voltdb.CatalogSpecificPlanner)2 GeographyPointValue (org.voltdb.types.GeographyPointValue)2 GeographyValue (org.voltdb.types.GeographyValue)2 ByteArrayInputStream (java.io.ByteArrayInputStream)1 File (java.io.File)1 IOException (java.io.IOException)1