Examples of ArrayBasedIndexedInts


Examples of io.druid.segment.data.ArrayBasedIndexedInts

          {
            @Override
            public IndexedInts getRow()
            {
              if (selector.getIndex() % 3 == 2) {
                return new ArrayBasedIndexedInts(new int[]{1});
              } else {
                return new ArrayBasedIndexedInts(new int[]{0});
              }
            }

            @Override
            public int getValueCardinality()
View Full Code Here

Examples of io.druid.segment.data.ArrayBasedIndexedInts

              final DictionaryEncodedColumn dict = dimensions.get(dim);
              final IndexedInts dimVals;
              if (dict.hasMultipleValues()) {
                dimVals = dict.getMultiValueRow(currRow);
              } else {
                dimVals = new ArrayBasedIndexedInts(new int[]{dict.getSingleValueRow(currRow)});
              }

              int[] theVals = new int[dimVals.size()];
              for (int j = 0; j < theVals.length; ++j) {
                theVals[j] = dimVals.get(j);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.