@Override
  public Set<String> getTableTypeNames() {
    Set<String> typeNameSet = new HashSet<String>();
    for (ClassicTableTypes typeNames : ClassicTableTypes.values()) {
      typeNameSet.add(typeNames.name());
    }
    return typeNameSet;
  }
ClassicTableTypeMapping.
Classic table type mapping :
 Managed Table ==&gt; Table
 External Table ==&gt; Table
 Virtual View ==&gt; View
service/src/java/org/apache/hive/service/cli/operation/ClassicTableTypeMapping.java