Package org.rocksdb
Class TableFileCreationBriefInfo
java.lang.Object
org.rocksdb.TableFileCreationBriefInfo
- Direct Known Subclasses:
TableFileCreationInfo
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTableFileCreationBriefInfo(String dbName, String columnFamilyName, String filePath, int jobId, byte tableFileCreationReasonValue) Access is private as this will only be constructed from C++ via JNI, either directly of viaTableFileCreationInfo(long, TableProperties, Status, String, String, String, int, byte). -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the name of the column family where the file was created.Get the name of the database where the file was created.Get the path to the created file.intgetJobId()Get the id of the job (which could be flush or compaction) that created the file.Get the reason for creating the table.inthashCode()toString()
-
Constructor Details
-
TableFileCreationBriefInfo
protected TableFileCreationBriefInfo(String dbName, String columnFamilyName, String filePath, int jobId, byte tableFileCreationReasonValue) Access is private as this will only be constructed from C++ via JNI, either directly of viaTableFileCreationInfo(long, TableProperties, Status, String, String, String, int, byte).- Parameters:
dbName- the database namecolumnFamilyName- the column family namefilePath- the path to the table filejobId- the job identifiertableFileCreationReasonValue- the reason for creation of the table file
-
-
Method Details
-
getDbName
Get the name of the database where the file was created.- Returns:
- the name of the database.
-
getColumnFamilyName
Get the name of the column family where the file was created.- Returns:
- the name of the column family.
-
getFilePath
Get the path to the created file.- Returns:
- the path.
-
getJobId
public int getJobId()Get the id of the job (which could be flush or compaction) that created the file.- Returns:
- the id of the job.
-
getReason
Get the reason for creating the table.- Returns:
- the reason for creating the table.
-
equals
-
hashCode
public int hashCode() -
toString
-