Package org.rocksdb

Class TableFileCreationInfo

    • 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 file
        tableProperties - the properties of the table file
        status - the status of the creation operation
        dbName - the database name
        columnFamilyName - the column family name
        filePath - the path to the table file
        jobId - the job identifier
        tableFileCreationReasonValue - 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.