Package com.arcadedb.index
Interface IndexInternal
-
- All Superinterfaces:
Index
- All Known Implementing Classes:
HnswVectorIndex
,LSMTreeFullTextIndex
,LSMTreeIndex
,TypeIndex
public interface IndexInternal extends Index
Internal Index interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IndexInternal.INDEX_STATUS
-
Nested classes/interfaces inherited from interface com.arcadedb.index.Index
Index.BuildIndexCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
build(int buildIndexBatchSize, Index.BuildIndexCallback callback)
void
close()
boolean
compact()
void
drop()
IndexInternal
getAssociatedIndex()
byte[]
getBinaryKeyTypes()
Component
getComponent()
int
getFileId()
List<Integer>
getFileIds()
Type[]
getKeyTypes()
String
getMostRecentFileName()
int
getPageSize()
Map<String,Long>
getStats()
TypeIndex
getTypeIndex()
boolean
isCompacting()
boolean
isValid()
boolean
scheduleCompaction()
void
setMetadata(String name, String[] propertyNames, int associatedBucketId)
boolean
setStatus(IndexInternal.INDEX_STATUS[] expectedStatuses, IndexInternal.INDEX_STATUS newStatus)
void
setTypeIndex(TypeIndex typeIndex)
JSONObject
toJSON()
-
Methods inherited from interface com.arcadedb.index.Index
countEntries, get, get, getAssociatedBucketId, getName, getNullStrategy, getPropertyNames, getType, getTypeName, isAutomatic, isUnique, put, remove, remove, setNullStrategy, supportsOrderedIterations
-
-
-
-
Method Detail
-
build
long build(int buildIndexBatchSize, Index.BuildIndexCallback callback)
-
compact
boolean compact() throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
setStatus
boolean setStatus(IndexInternal.INDEX_STATUS[] expectedStatuses, IndexInternal.INDEX_STATUS newStatus)
-
close
void close()
-
drop
void drop()
-
getFileId
int getFileId()
-
getComponent
Component getComponent()
-
getKeyTypes
Type[] getKeyTypes()
-
getBinaryKeyTypes
byte[] getBinaryKeyTypes()
-
setTypeIndex
void setTypeIndex(TypeIndex typeIndex)
-
getTypeIndex
TypeIndex getTypeIndex()
-
getPageSize
int getPageSize()
-
isCompacting
boolean isCompacting()
-
isValid
boolean isValid()
-
scheduleCompaction
boolean scheduleCompaction()
-
getMostRecentFileName
String getMostRecentFileName()
-
toJSON
JSONObject toJSON()
-
getAssociatedIndex
IndexInternal getAssociatedIndex()
-
-