Class TableUtils


  • public class TableUtils
    extends java.lang.Object
    Created by donnie on 7/16/17.
    • Constructor Detail

      • TableUtils

        public TableUtils()
    • Method Detail

      • findIndexOnColumns

        public static ColumnRefs findIndexOnColumns​(TableInfo tableInfo,
                                                    int[] colIndexes)
      • makeValueMap

        public static java.util.Map<java.lang.Integer,​java.lang.Object> makeValueMap​(int[] colIndexes,
                                                                                           Tuple tup,
                                                                                           int[] refColIndexes)
      • makeValueMap

        public static java.util.Map<java.lang.Integer,​java.lang.Object> makeValueMap​(int[] colIndexes,
                                                                                           Tuple tup)
      • hasEqualValues

        public static boolean hasEqualValues​(Tuple tup,
                                             java.util.Map<java.lang.Integer,​java.lang.Object> values)
      • findFirstTupleEquals

        public static Tuple findFirstTupleEquals​(TupleFile tupleFile,
                                                 java.util.Map<java.lang.Integer,​java.lang.Object> values)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • findNextTupleEquals

        public static Tuple findNextTupleEquals​(TupleFile tupleFile,
                                                Tuple prevTup,
                                                java.util.Map<java.lang.Integer,​java.lang.Object> values)
                                         throws java.io.IOException
        Throws:
        java.io.IOException