public class SAVLIndex extends AbstractSIndex
SIndex.RowIndex, SIndex.RowIndexNode
Constructor and Description |
---|
SAVLIndex(SIndexMetadata metadata) |
SAVLIndex(java.lang.String name,
boolean isPrimaryKey,
boolean isUnique,
java.util.List columns) |
SAVLIndex(java.lang.String name,
boolean isPrimaryKey,
boolean isUnique,
java.util.List columns,
java.util.List order) |
Modifier and Type | Method and Description |
---|---|
void |
build() |
void |
build(Selection selection) |
void |
buildColumnsMetadata(SnapshotTable table) |
void |
defrag(int[] moveMap,
boolean withTrim) |
SIndex.RowIndexNode |
getRowIndexNode() |
AVLTree |
getTree() |
SIndexType |
getType() |
boolean |
isBuilt() |
boolean |
isPrimaryKey() |
boolean |
isUnique() |
void |
onColumnDataAppended(int dataIndex) |
void |
onColumnDataChanged(int dataIndex) |
void |
onColumnDataCleared() |
void |
onColumnDataRemoved(int dataIndex) |
void |
reset() |
int |
size() |
long |
sizeInMemoryData() |
long |
sizeInMemoryFull() |
void |
trimToSize() |
getColumns, getId, getName, getOrder, invalidate, isGoodForColumns, isOrder, isValid, iterator, removeColumn, rename, reverseIterator, setSizeOnDisk, sizeOnDisk
public SAVLIndex(java.lang.String name, boolean isPrimaryKey, boolean isUnique, java.util.List columns)
public SAVLIndex(java.lang.String name, boolean isPrimaryKey, boolean isUnique, java.util.List columns, java.util.List order)
public SAVLIndex(SIndexMetadata metadata)
public void build()
build
in interface SIndex
build
in class AbstractSIndex
public void build(Selection selection)
build
in interface SIndex
build
in class AbstractSIndex
public void reset()
reset
in interface SIndex
reset
in class AbstractSIndex
public boolean isBuilt()
isBuilt
in interface SIndex
isBuilt
in class AbstractSIndex
public long sizeInMemoryData()
sizeInMemoryData
in interface SIndex
sizeInMemoryData
in class AbstractSIndex
public long sizeInMemoryFull()
sizeInMemoryFull
in interface SIndex
sizeInMemoryFull
in class AbstractSIndex
public SIndexType getType()
getType
in interface SIndex
getType
in class AbstractSIndex
public int size()
size
in interface SIndex
size
in class AbstractSIndex
public boolean isUnique()
isUnique
in interface SIndex
isUnique
in class AbstractSIndex
public boolean isPrimaryKey()
isPrimaryKey
in interface SIndex
isPrimaryKey
in class AbstractSIndex
public void trimToSize()
trimToSize
in interface SIndex
trimToSize
in class AbstractSIndex
public void defrag(int[] moveMap, boolean withTrim)
defrag
in interface SIndex
defrag
in class AbstractSIndex
public void onColumnDataAppended(int dataIndex)
onColumnDataAppended
in interface SIndex
onColumnDataAppended
in class AbstractSIndex
public void onColumnDataRemoved(int dataIndex)
onColumnDataRemoved
in interface SIndex
onColumnDataRemoved
in class AbstractSIndex
public void onColumnDataChanged(int dataIndex)
onColumnDataChanged
in interface SIndex
onColumnDataChanged
in class AbstractSIndex
public void onColumnDataCleared()
onColumnDataCleared
in interface SIndex
onColumnDataCleared
in class AbstractSIndex
public AVLTree getTree()
public void buildColumnsMetadata(SnapshotTable table)
buildColumnsMetadata
in interface SIndex
buildColumnsMetadata
in class AbstractSIndex
public SIndex.RowIndexNode getRowIndexNode()
getRowIndexNode
in interface SIndex
getRowIndexNode
in class AbstractSIndex
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.