public Short getSearchable() {
    if (isPrimitiveType()) {
      return DatabaseMetaData.typeSearchable;
    }
    return DatabaseMetaData.typePredNone;
  }
Can you use WHERE based on this type?
@return
DatabaseMetaData.typePredNone - No support
DatabaseMetaData.typePredChar - Only support with WHERE .. LIKE
DatabaseMetaData.typePredBasic - Supported except for WHERE .. LIKE
DatabaseMetaData.typeSearchable - Supported for all WHERE ..
serde/src/java/org/apache/hadoop/hive/serde2/thrift/Type.java