Class FatUtils


  • public class FatUtils
    extends java.lang.Object
    Various utilities for the dealing with FatResultSets.
    Since:
    4.0
    Author:
    Craig Macdonald
    • Constructor Detail

      • FatUtils

        public FatUtils()
    • Method Detail

      • recreate

        public static FatResultSet recreate​(FatResultSet frs)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • readFields

        public static void readFields​(FatResultSet frs,
                                      java.io.DataInput in)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • readFieldsV2

        protected static void readFieldsV2​(FatResultSet frs,
                                           java.io.DataInput in)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • readFieldsV3

        protected static void readFieldsV3​(FatResultSet frs,
                                           java.io.DataInput in)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • readFieldsV4

        protected static void readFieldsV4​(FatResultSet frs,
                                           java.io.DataInput in)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • readFieldsV5

        protected static void readFieldsV5​(FatResultSet frs,
                                           java.io.DataInput in,
                                           boolean v6)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • readFieldsV6

        protected static void readFieldsV6​(FatResultSet frs,
                                           java.io.DataInput in,
                                           boolean v6)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public static void write​(FatResultSet frs,
                                 java.io.DataOutput out)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • writeV3

        public static void writeV3​(FatResultSet frs,
                                   java.io.DataOutput out)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • writeV5

        public static void writeV5​(FatResultSet frs,
                                   java.io.DataOutput out)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • getInfo

        public static java.lang.String getInfo​(FatResultSet frs)
      • readFatResultSet

        public static java.util.Iterator<java.util.Map.Entry<java.lang.String,​FatResultSet>> readFatResultSet​(java.lang.String filename)
                                                                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException