[Feature-WIP](inverted index) support array type for inverted index reader (#16355)
This commit is contained in:
@ -109,6 +109,7 @@ public abstract class Type {
|
||||
|
||||
private static final Logger LOG = LogManager.getLogger(Type.class);
|
||||
private static final ArrayList<ScalarType> integerTypes;
|
||||
private static final ArrayList<ScalarType> stringTypes;
|
||||
private static final ArrayList<ScalarType> numericTypes;
|
||||
private static final ArrayList<ScalarType> numericDateTimeTypes;
|
||||
private static final ArrayList<ScalarType> supportedTypes;
|
||||
@ -123,6 +124,11 @@ public abstract class Type {
|
||||
integerTypes.add(BIGINT);
|
||||
integerTypes.add(LARGEINT);
|
||||
|
||||
stringTypes = Lists.newArrayList();
|
||||
stringTypes.add(CHAR);
|
||||
stringTypes.add(VARCHAR);
|
||||
stringTypes.add(STRING);
|
||||
|
||||
numericTypes = Lists.newArrayList();
|
||||
numericTypes.addAll(integerTypes);
|
||||
numericTypes.add(FLOAT);
|
||||
@ -207,6 +213,10 @@ public abstract class Type {
|
||||
return integerTypes;
|
||||
}
|
||||
|
||||
public static ArrayList<ScalarType> getStringTypes() {
|
||||
return stringTypes;
|
||||
}
|
||||
|
||||
public static ArrayList<ScalarType> getNumericTypes() {
|
||||
return numericTypes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user