@Test public void testReloadNonPartitioned() throws Exception { testReload(PartitionBy.NONE, 10, 60L * 60000, DONT_CARE); }
private boolean reloadNonPartitioned() { if (readTxn()) { reloadStruct(); if (getPartitionRowCount(0) > -1) { reloadPartition(0, rowCount); } else { openPartition0(0); reloadSymbolMapCounts(); } return true; } return false; }
TableReader implements Closeable { private boolean reloadNonPartitioned() { if (readTxn()) { reloadStruct(); if (getPartitionRowCount(0) > -1) { reloadPartition(0, rowCount); } else { openPartition0(0); reloadSymbolMapCounts(); } return true; } return false; } }
TableReader implements Closeable { private boolean reloadNonPartitioned() { if (readTxn()) { reloadStruct(); if (getPartitionRowCount(0) > -1) { reloadPartition(0, rowCount); } else { openPartition0(0); reloadSymbolMapCounts(); } return true; } return false; } TableReader(CairoConfiguration configuration, CharSequence tableName); }
TableReader implements Closeable { private boolean reloadNonPartitioned() { if (readTxn()) { reloadStruct(); if (getPartitionRowCount(0) > -1) { reloadPartition(0, rowCount); } else { openPartition0(0); reloadSymbolMapCounts(); } return true; } return false; } TableReader(CairoConfiguration configuration, CharSequence tableName); static int getPrimaryColumnIndex(int base, int index); double avgDouble(int columnIndex); @Override void close(); void closeColumnForRemove(int columnIndex); void closeColumnForRemove(CharSequence columnName); long floorToPartitionTimestamp(long timestamp); BitmapIndexReader getBitmapIndexReader(int columnBase, int columnIndex, int direction); int getColumnBase(int partitionIndex); TableReaderRecordCursor getCursor(); long getDataVersion(); long getMaxTimestamp(); RecordMetadata getMetadata(); long getMinTimestamp(); long getPageAddressAt(int partitionIndex, long row, int columnIndex); long getPageValueCount(int partitionIndex, long rowLo, long rowHi, int columnIndex); int getPartitionCount(); int getPartitionCountBetweenTimestamps(long partitionTimestamp1, long partitionTimestamp2); int getPartitionedBy(); SymbolMapReader getSymbolMapReader(int columnIndex); String getTableName(); long getVersion(); boolean isOpen(); double maxDouble(int columnIndex); double minDouble(int columnIndex); boolean reload(); void reshuffleSymbolMapReaders(long pTransitionIndex); long size(); double sumDouble(int columnIndex); ReadOnlyColumn getColumn(int absoluteIndex); long getColumnTop(int base, int columnIndex); long openPartition(int partitionIndex); }
TableReader implements Closeable { private boolean reloadNonPartitioned() { if (readTxn()) { reloadStruct(); if (getPartitionRowCount(0) > -1) { reloadPartition(0, rowCount); } else { openPartition0(0); reloadSymbolMapCounts(); } return true; } return false; } TableReader(CairoConfiguration configuration, CharSequence tableName); static int getPrimaryColumnIndex(int base, int index); double avgDouble(int columnIndex); @Override void close(); void closeColumnForRemove(int columnIndex); void closeColumnForRemove(CharSequence columnName); long floorToPartitionTimestamp(long timestamp); BitmapIndexReader getBitmapIndexReader(int columnBase, int columnIndex, int direction); int getColumnBase(int partitionIndex); TableReaderRecordCursor getCursor(); long getDataVersion(); long getMaxTimestamp(); RecordMetadata getMetadata(); long getMinTimestamp(); long getPageAddressAt(int partitionIndex, long row, int columnIndex); long getPageValueCount(int partitionIndex, long rowLo, long rowHi, int columnIndex); int getPartitionCount(); int getPartitionCountBetweenTimestamps(long partitionTimestamp1, long partitionTimestamp2); int getPartitionedBy(); SymbolMapReader getSymbolMapReader(int columnIndex); String getTableName(); long getVersion(); boolean isOpen(); double maxDouble(int columnIndex); double minDouble(int columnIndex); boolean reload(); void reshuffleSymbolMapReaders(long pTransitionIndex); long size(); double sumDouble(int columnIndex); ReadOnlyColumn getColumn(int absoluteIndex); long getColumnTop(int base, int columnIndex); long openPartition(int partitionIndex);  }