Class MetadataStoreHelper.MetaDataWriter

  • Enclosing class:
    MetadataStoreHelper

    public static class MetadataStoreHelper.MetaDataWriter
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<java.lang.String,​java.lang.Integer> stringTable  
    • Constructor Summary

      Constructors 
      Constructor Description
      MetaDataWriter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private int addToStringTable​(java.lang.String s)  
      void writeIndexedString​(java.lang.String s, java.io.DataOutputStream out)  
      void writeString​(java.lang.String s, java.io.DataOutputStream out)  
      void writeVersion​(java.io.DataOutputStream out)  
      • Methods inherited from class java.lang.Object

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

      • stringTable

        private final java.util.Map<java.lang.String,​java.lang.Integer> stringTable
    • Constructor Detail

      • MetaDataWriter

        public MetaDataWriter()
    • Method Detail

      • writeVersion

        public void writeVersion​(java.io.DataOutputStream out)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • writeIndexedString

        public void writeIndexedString​(java.lang.String s,
                                       java.io.DataOutputStream out)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • writeString

        public void writeString​(java.lang.String s,
                                java.io.DataOutputStream out)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • addToStringTable

        private int addToStringTable​(java.lang.String s)