Class BlockTreeTermsWriter.StatsWriter

  • Enclosing class:
    BlockTreeTermsWriter

    private static class BlockTreeTermsWriter.StatsWriter
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      StatsWriter​(DataOutput out, boolean hasFreqs)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void add​(int df, long ttf)  
      (package private) void finish()  
      • Methods inherited from class java.lang.Object

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

      • hasFreqs

        private final boolean hasFreqs
      • singletonCount

        private int singletonCount
    • Constructor Detail

      • StatsWriter

        StatsWriter​(DataOutput out,
                    boolean hasFreqs)
    • Method Detail

      • add

        void add​(int df,
                 long ttf)
          throws java.io.IOException
        Throws:
        java.io.IOException
      • finish

        void finish()
             throws java.io.IOException
        Throws:
        java.io.IOException