Package org.rocksdb
Class TableFileCreationInfo
java.lang.Object
org.rocksdb.TableFileCreationBriefInfo
org.rocksdb.TableFileCreationInfo
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTableFileCreationInfo(long fileSize, TableProperties tableProperties, Status status, String dbName, String columnFamilyName, String filePath, int jobId, byte tableFileCreationReasonValue) Access is protected as this will only be constructed from C++ via JNI. -
Method Summary
Methods inherited from class org.rocksdb.TableFileCreationBriefInfo
getColumnFamilyName, getDbName, getFilePath, getJobId, getReason
-
Constructor Details
-
TableFileCreationInfo
protected TableFileCreationInfo(long fileSize, TableProperties tableProperties, Status status, String dbName, String columnFamilyName, 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 Details
-
getFileSize
public long getFileSize()Get the size of the file.- Returns:
- the size.
-
getTableProperties
Get the detailed properties of the created file.- Returns:
- the properties.
-
getStatus
Get the status indicating whether the creation was successful or not.- Returns:
- the status.
-
equals
- Overrides:
equalsin classTableFileCreationBriefInfo
-
hashCode
public int hashCode()- Overrides:
hashCodein classTableFileCreationBriefInfo
-
toString
- Overrides:
toStringin classTableFileCreationBriefInfo
-