public class ValueTable extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BATCH_SIZE |
static long |
NIL_ID |
Constructor and Description |
---|
ValueTable() |
public static int BATCH_SIZE
public static final long NIL_ID
public void setQueue(BlockingQueue<Batch> queue)
public boolean isIndexingValues()
public void setIndexingValues(boolean indexingValues)
public int getLength()
public void setLength(int length)
public int getSqlType()
public void setSqlType(int sqlType)
public int getIdType()
public void setIdType(int sqlType)
public RdbmsTable getRdbmsTable()
public void setRdbmsTable(RdbmsTable table)
public RdbmsTable getTemporaryTable()
public void setTemporaryTable(RdbmsTable temporary)
public String getName()
public long size()
public int getBatchSize()
public void initialize() throws SQLException
SQLException
public void close() throws SQLException
SQLException
public void insert(Number id, String value) throws SQLException, InterruptedException
SQLException
InterruptedException
public void insert(Number id, Number value) throws SQLException, InterruptedException
SQLException
InterruptedException
public ValueBatch getValueBatch()
public boolean isExpired(ValueBatch batch)
public ValueBatch newValueBatch()
public void initBatch(ValueBatch batch) throws SQLException
SQLException
public void queue(ValueBatch batch) throws SQLException, InterruptedException
SQLException
InterruptedException
public void optimize() throws SQLException
SQLException
public boolean expunge(String condition) throws SQLException
SQLException
public List<Long> maxIds(int shift, int mod) throws SQLException
SQLException
public String sql(int type, int length)
protected RdbmsTable getInsertTable()
protected PreparedStatement prepareInsert(String sql) throws SQLException
SQLException
protected PreparedStatement prepareInsertSelect(String sql) throws SQLException
SQLException
protected void createTable(RdbmsTable table) throws SQLException
SQLException
protected void createTemporaryTable(RdbmsTable table) throws SQLException
SQLException
Copyright © 2001-2016 Aduna. All Rights Reserved.