/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { ID((short)1, "id"), TABLE_NAME((short)2, "tableName"), DB_NAME((short)3, "dbName"), OWNER((short)4, "owner"), CREATE_TIME((short)5, "createTime"), LAST_ACCESS_TIME((short)6, "lastAccessTime"), RETENTION((short)7, "retention"), SD((short)8, "sd"), PARTITION_KEYS((short)9, "partitionKeys"), PARAMETERS((short)10, "parameters"), VIEW_ORIGINAL_TEXT((short)11, "viewOriginalText"), VIEW_EXPANDED_TEXT((short)12, "viewExpandedText"), TABLE_TYPE((short)13, "tableType"), PRIVILEGES((short)14, "privileges"), TEMPORARY((short)15, "temporary"), REWRITE_ENABLED((short)16, "rewriteEnabled"), CREATION_METADATA((short)17, "creationMetadata"), CAT_NAME((short)18, "catName"), /** * * @see PrincipalType */ OWNER_TYPE((short)19, "ownerType"), WRITE_ID((short)20, "writeId"), IS_STATS_COMPLIANT((short)21, "isStatsCompliant"), COL_STATS((short)22, "colStats"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements TFieldIdEnum { QUERY((short)1, "query"), START((short)2, "start"), LENGTH((short)3, "length"), SCORING_FUNCTION_INDEX((short)4, "scoringFunctionIndex"), QUERY_VARIABLES((short)6, "query_variables"), FACETS_FILTER((short)7, "facetsFilter"), VARIABLE_RANGE_FILTERS((short)8, "variableRangeFilters"), FUNCTION_RANGE_FILTERS((short)9, "functionRangeFilters"), EXTRA_PARAMETERS((short)5, "extra_parameters"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // QUERY return QUERY; case 2: // START return START; case 3: // LENGTH