Package org.rocksdb
Class TableFileCreationInfo
- java.lang.Object
-
- org.rocksdb.TableFileCreationBriefInfo
-
- org.rocksdb.TableFileCreationInfo
-
public class TableFileCreationInfo extends TableFileCreationBriefInfo
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTableFileCreationInfo(long fileSize, TableProperties tableProperties, Status status, java.lang.String dbName, java.lang.String columnFamilyName, java.lang.String filePath, int jobId, byte tableFileCreationReasonValue)Access is protected as this will only be constructed from C++ via JNI.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)longgetFileSize()Get the size of the file.StatusgetStatus()Get the status indicating whether the creation was successful or not.TablePropertiesgetTableProperties()Get the detailed properties of the created file.inthashCode()java.lang.StringtoString()-
Methods inherited from class org.rocksdb.TableFileCreationBriefInfo
getColumnFamilyName, getDbName, getFilePath, getJobId, getReason
-
-
-
-
Constructor Detail
-
TableFileCreationInfo
protected TableFileCreationInfo(long fileSize, TableProperties tableProperties, Status status, java.lang.String dbName, java.lang.String columnFamilyName, java.lang.String filePath, int jobId, byte tableFileCreationReasonValue)Access is protected as this will only be constructed from C++ via JNI.- Parameters:
fileSize- the size of the table filetableProperties- the properties of the table filestatus- the status of the creation operationdbName- 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
-
getFileSize
public long getFileSize()
Get the size of the file.- Returns:
- the size.
-
getTableProperties
public TableProperties getTableProperties()
Get the detailed properties of the created file.- Returns:
- the properties.
-
getStatus
public Status getStatus()
Get the status indicating whether the creation was successful or not.- Returns:
- the status.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classTableFileCreationBriefInfo
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTableFileCreationBriefInfo
-
toString
public java.lang.String toString()
- Overrides:
toStringin classTableFileCreationBriefInfo
-
-