Package org.rocksdb

Class TableFileCreationBriefInfo

  • Direct Known Subclasses:
    TableFileCreationInfo

    public class TableFileCreationBriefInfo
    extends java.lang.Object
    • 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 via TableFileCreationInfo(long, TableProperties, Status, String, String, String, int, byte).
        Parameters:
        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

      • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object