Class Pointer.TargetIndex

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Pointer

    private static class Pointer.TargetIndex
    extends java.lang.Object
    implements java.io.Serializable
    This class is used to avoid paging in the target before it is required, and to prevent keeping a large portion of the database resident once the target has been queried.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String _cachedToString  
      (package private) int _index  
      (package private) long _offset  
      (package private) POS _pos  
    • Constructor Summary

      Constructors 
      Constructor Description
      TargetIndex​(POS pos, long offset, int index)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void readObject​(java.io.ObjectInputStream in)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _pos

        POS _pos
      • _offset

        long _offset
      • _index

        int _index
      • _cachedToString

        private transient java.lang.String _cachedToString
    • Constructor Detail

      • TargetIndex

        TargetIndex​(POS pos,
                    long offset,
                    int index)
    • Method Detail

      • toString

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

        private void readObject​(java.io.ObjectInputStream in)
                         throws java.io.IOException,
                                java.lang.ClassNotFoundException
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException