Package org.rocksdb
Class TableFileCreationBriefInfo
- java.lang.Object
-
- org.rocksdb.TableFileCreationBriefInfo
-
- Direct Known Subclasses:
TableFileCreationInfo
public class TableFileCreationBriefInfo extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTableFileCreationBriefInfo(java.lang.String dbName, java.lang.String columnFamilyName, java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetColumnFamilyName()Get the name of the column family where the file was created.java.lang.StringgetDbName()Get the name of the database where the file was created.java.lang.StringgetFilePath()Get the path to the created file.intgetJobId()Get the id of the job (which could be flush or compaction) that created the file.TableFileCreationReasongetReason()Get the reason for creating the table.inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
TableFileCreationBriefInfo
protected TableFileCreationBriefInfo(java.lang.String dbName, java.lang.String columnFamilyName, java.lang.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 Detail
-
getDbName
public java.lang.String getDbName()
Get the name of the database where the file was created.- Returns:
- the name of the database.
-
getColumnFamilyName
public java.lang.String getColumnFamilyName()
Get the name of the column family where the file was created.- Returns:
- the name of the column family.
-
getFilePath
public java.lang.String 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
public TableFileCreationReason getReason()
Get the reason for creating the table.- Returns:
- the reason for creating the table.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-