public class EncodedColumnsUtil extends Object
Constructor and Description |
---|
EncodedColumnsUtil() |
public static boolean usesEncodedColumnNames(PTable table)
public static boolean usesEncodedColumnNames(PTable.QualifierEncodingScheme encodingScheme)
public static final boolean useNewValueColumnQualifier(Scan s)
public static PTable.QualifierEncodingScheme getQualifierEncodingScheme(Scan s)
public static PTable.ImmutableStorageScheme getImmutableStorageScheme(Scan s)
public static Pair<byte[],byte[]> getEmptyKeyValueInfo(PTable table)
public static Pair<byte[],byte[]> getEmptyKeyValueInfo(boolean usesEncodedColumnNames)
public static Pair<byte[],byte[]> getEmptyKeyValueInfo(PTable.QualifierEncodingScheme encodingScheme)
public static Pair<Integer,Integer> getMinMaxQualifiersFromScan(Scan scan)
public static boolean useEncodedQualifierListOptimization(PTable table, Scan scan)
public static boolean useQualifierAsIndex(Pair<Integer,Integer> minMaxQualifiers)
public static Pair<Integer,Integer> setQualifiersForColumnsInFamily(PTable table, String cf, NavigableSet<byte[]> qualifierSet) throws ColumnFamilyNotFoundException
ColumnFamilyNotFoundException
public static byte[] getColumnQualifierBytes(String columnName, Integer numberBasedQualifier, PTable table, boolean isPk)
public static byte[] getColumnQualifierBytes(String columnName, Integer numberBasedQualifier, PTable.QualifierEncodingScheme encodingScheme, boolean isPk)
public static Expression[] createColumnExpressionArray(int maxEncodedColumnQualifier)
public static boolean isReservedColumnQualifier(int number)
public static boolean isPossibleToUseEncodedCQFilter(PTable.QualifierEncodingScheme encodingScheme, PTable.ImmutableStorageScheme storageScheme)
Copyright © 2019 Apache Software Foundation. All Rights Reserved.