Class MasterTableDataSource.MRawDiagnosticTable

  • All Implemented Interfaces:
    RawDiagnosticTable
    Enclosing class:
    MasterTableDataSource

    private final class MasterTableDataSource.MRawDiagnosticTable
    extends java.lang.Object
    implements RawDiagnosticTable
    A RawDiagnosticTable implementation that provides direct access to the root data of this table source bypassing any indexing schemes. This interface allows for the inspection and repair of data files.
    • Constructor Detail

      • MRawDiagnosticTable

        private MRawDiagnosticTable()
    • Method Detail

      • physicalRecordCount

        public int physicalRecordCount()
        Description copied from interface: RawDiagnosticTable
        Returns the number of physical records in the table. This includes records that are uncommitted, deleted, committed removed and committed added.
        Specified by:
        physicalRecordCount in interface RawDiagnosticTable
      • recordState

        public int recordState​(int record_index)
        Description copied from interface: RawDiagnosticTable
        Returns the state of the given record index. The state of a row is either UNCOMMITTED, COMMITTED ADDED, COMMITTED REMOVED or DELETED. record_index should be between 0 and physicalRecordCount.
        Specified by:
        recordState in interface RawDiagnosticTable
      • recordSize

        public int recordSize​(int record_index)
        Description copied from interface: RawDiagnosticTable
        The number of bytes the record takes up on the underlying media.
        Specified by:
        recordSize in interface RawDiagnosticTable
      • getCellContents

        public TObject getCellContents​(int column,
                                       int record_index)
        Description copied from interface: RawDiagnosticTable
        Returns the contents of the given cell in this table. If the system is unable to return a valid cell then an exception is thrown.
        Specified by:
        getCellContents in interface RawDiagnosticTable
      • recordMiscInformation

        public java.lang.String recordMiscInformation​(int record_index)
        Description copied from interface: RawDiagnosticTable
        Returns any misc information regarding this row as a human readable string. May return null if there is no misc information associated with this record.
        Specified by:
        recordMiscInformation in interface RawDiagnosticTable