Package org.teamapps.universaldb.index
Class IndexMetaData
java.lang.Object
org.teamapps.universaldb.index.IndexMetaData
public class IndexMetaData
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description IndexMetaData(java.io.File dataPath, java.lang.String name, java.lang.String fqn, int indexType) -
Method Summary
Modifier and Type Method Description longgetCreationTime()intgetCtrOffset()java.lang.StringgetFqn()intgetIndexType()intgetMappingId()byte[]getNonce()booleanisEncrypted()voidsetEncrypted(boolean encrypted)voidsetMappingId(int mappingId)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IndexMetaData
public IndexMetaData(java.io.File dataPath, java.lang.String name, java.lang.String fqn, int indexType)
-
-
Method Details
-
getMappingId
public int getMappingId() -
setMappingId
public void setMappingId(int mappingId) -
getIndexType
public int getIndexType() throws java.io.IOException- Throws:
java.io.IOException
-
getCreationTime
public long getCreationTime() throws java.io.IOException- Throws:
java.io.IOException
-
getNonce
public byte[] getNonce() -
getCtrOffset
public int getCtrOffset() -
getFqn
public java.lang.String getFqn() throws java.io.IOException- Throws:
java.io.IOException
-
setEncrypted
public void setEncrypted(boolean encrypted) throws java.io.IOException- Throws:
java.io.IOException
-
isEncrypted
public boolean isEncrypted() throws java.io.IOException- Throws:
java.io.IOException
-