Class TableIndex

java.lang.Object
org.teamapps.universaldb.index.TableIndex
All Implemented Interfaces:
MappedObject

public class TableIndex
extends java.lang.Object
implements MappedObject
  • Constructor Details

  • Method Details

    • getCollectionTextSearchIndex

      public CollectionTextSearchIndex getCollectionTextSearchIndex()
    • checkFullTextIndex

      public void checkFullTextIndex()
    • forceFullTextIndexRecreation

      public void forceFullTextIndexRecreation()
    • getTable

      public Table getTable()
    • getFileStore

      public FileStore getFileStore()
    • getRecordVersioningIndex

      public RecordVersioningIndex getRecordVersioningIndex()
    • getDataPath

      public java.io.File getDataPath()
    • getFullTextIndexPath

      public java.io.File getFullTextIndexPath()
    • getTableConfig

      public TableConfig getTableConfig()
    • getRecords

      public java.util.BitSet getRecords()
    • isStored

      public boolean isStored​(int id)
    • getCount

      public int getCount()
    • getDeletedRecords

      public java.util.BitSet getDeletedRecords()
    • getDeletedRecordsCount

      public int getDeletedRecordsCount()
    • isDeleted

      public boolean isDeleted​(int id)
    • addIndex

      public void addIndex​(ColumnType type, java.lang.String name)
    • addIndex

      public void addIndex​(ColumnIndex index)
    • createFullTextFilter

      public Filter createFullTextFilter​(java.lang.String query, java.lang.String... fieldNames)
    • createFullTextFilter

      public Filter createFullTextFilter​(TextFilter textFilter, java.lang.String... fieldNames)
    • createFullTextFilter

      public Filter createFullTextFilter​(TextFilter textFilter, boolean orQuery, java.lang.String... fieldNames)
    • sortRecords

      public java.util.List<SortEntry> sortRecords​(java.lang.String columnName, java.util.BitSet records, boolean ascending, UserContext userContext, SingleReferenceIndex... path)
    • createRecord

      public int createRecord​(int recordId)
    • updateFullTextIndex

      public void updateFullTextIndex​(int id, java.util.List<FullTextIndexValue> values, boolean update)
    • deleteRecord

      public void deleteRecord​(int id)
    • restoreRecord

      public void restoreRecord​(int id)
    • restoreRecord

      public void restoreRecord​(int id, ColumnIndex<?,​?> cascadeOriginIndex)
    • setTransactionId

      public void setTransactionId​(int id, long transactionId)
    • getTransactionId

      public long getTransactionId​(int id)
    • getRecordBitSet

      public java.util.BitSet getRecordBitSet()
    • getDeletedRecordsBitSet

      public java.util.BitSet getDeletedRecordsBitSet()
    • getColumnIndices

      public java.util.List<ColumnIndex> getColumnIndices()
    • getReferenceColumns

      public java.util.List<ColumnIndex> getReferenceColumns()
    • getColumnIndex

      public ColumnIndex getColumnIndex​(java.lang.String name)
    • isKeepDeletedRecords

      public boolean isKeepDeletedRecords()
    • getMappingId

      public int getMappingId()
      Specified by:
      getMappingId in interface MappedObject
    • setMappingId

      public void setMappingId​(int id)
      Specified by:
      setMappingId in interface MappedObject
    • merge

      public void merge​(Table table)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • close

      public void close()
    • drop

      public void drop()
    • getFQN

      public java.lang.String getFQN()
      Specified by:
      getFQN in interface MappedObject
    • getName

      public java.lang.String getName()
    • getDatabaseIndex

      public DatabaseIndex getDatabaseIndex()