Package org.rocksdb

Class TableFileCreationBriefInfo

java.lang.Object
org.rocksdb.TableFileCreationBriefInfo
Direct Known Subclasses:
TableFileCreationInfo

public class TableFileCreationBriefInfo extends Object
  • Constructor Details

    • TableFileCreationBriefInfo

      protected TableFileCreationBriefInfo(String dbName, String columnFamilyName, 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 Details

    • getDbName

      public String getDbName()
      Get the name of the database where the file was created.
      Returns:
      the name of the database.
    • getColumnFamilyName

      public String getColumnFamilyName()
      Get the name of the column family where the file was created.
      Returns:
      the name of the column family.
    • getFilePath

      public 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(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object