Package org.teamapps.universaldb.index
Klasse TableIndex
java.lang.Object
org.teamapps.universaldb.index.TableIndex
- Alle implementierten Schnittstellen:
MappedObject
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungTableIndex(DatabaseIndex databaseIndex, String parentFQN, Table table, TableConfig tableConfig) TableIndex(DatabaseIndex database, Table table, TableConfig tableConfig) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddIndex(ColumnIndex index) voidaddIndex(ColumnType type, String name) voidvoidclose()createFullTextFilter(String query, String... fieldNames) createFullTextFilter(TextFilter textFilter, boolean orQuery, String... fieldNames) createFullTextFilter(TextFilter textFilter, String... fieldNames) intcreateRecord(int recordId) deleteRecord(int id) voiddrop()voidgetColumnIndex(String name) intgetCount()intgetFQN()intgetName()getTable()longgetTransactionId(int id) booleanisDeleted(int id) booleanbooleanisStored(int id) voidrestoreRecord(int id) restoreRecord(int id, ColumnIndex<?, ?> cascadeOriginIndex) voidsetMappingId(int id) voidsetTransactionId(int id, long transactionId) sortRecords(String columnName, BitSet records, boolean ascending, UserContext userContext, SingleReferenceIndex... path) toString()voidupdateFullTextIndex(int id, List<FullTextIndexValue> values, boolean update)
-
Konstruktordetails
-
TableIndex
-
TableIndex
public TableIndex(DatabaseIndex databaseIndex, String parentFQN, Table table, TableConfig tableConfig)
-
-
Methodendetails
-
getCollectionTextSearchIndex
-
checkFullTextIndex
public void checkFullTextIndex() -
forceFullTextIndexRecreation
public void forceFullTextIndexRecreation() -
getTable
-
getFileStore
-
getRecordVersioningIndex
-
getDataPath
-
getFullTextIndexPath
-
getTableConfig
-
getRecords
-
isStored
public boolean isStored(int id) -
getCount
public int getCount() -
getDeletedRecords
-
getDeletedRecordsCount
public int getDeletedRecordsCount() -
isDeleted
public boolean isDeleted(int id) -
addIndex
-
addIndex
-
createFullTextFilter
-
createFullTextFilter
-
createFullTextFilter
-
sortRecords
public List<SortEntry> sortRecords(String columnName, BitSet records, boolean ascending, UserContext userContext, SingleReferenceIndex... path) -
createRecord
public int createRecord(int recordId) -
updateFullTextIndex
-
deleteRecord
-
restoreRecord
-
restoreRecord
-
setTransactionId
public void setTransactionId(int id, long transactionId) -
getTransactionId
public long getTransactionId(int id) -
getRecordBitSet
-
getDeletedRecordsBitSet
-
getColumnIndices
-
getReferenceColumns
-
getColumnIndex
-
isKeepDeletedRecords
public boolean isKeepDeletedRecords() -
getMappingId
public int getMappingId()- Angegeben von:
getMappingIdin SchnittstelleMappedObject
-
setMappingId
public void setMappingId(int id) - Angegeben von:
setMappingIdin SchnittstelleMappedObject
-
merge
-
toString
-
close
public void close() -
drop
public void drop() -
getFQN
- Angegeben von:
getFQNin SchnittstelleMappedObject
-
getName
-
getDatabaseIndex
-