integration/presto/src/main/java/org/apache/carbondata/presto/impl/CarbonTableReader.java
/**
   * Get the names of the tables in the given schema.
   *
   * @param schemaName name of the schema
   * @return
   */
Get the names of the tables in the given schema.
@param schemaName name of the schema
@return
Get the names of the tables in the given schema . @param schemaName name of the schema @return
private Set<String> updateTableList(String schemaName) {
    List<CarbonFile> schema =
            Stream.of(carbonFileList.listFiles()).filter(a -> schemaName.equals(a.getName()))
                    .collect(Collectors.toList());
    if (schema.size() > 0) {
      return Stream.of((schema.get(0)).listFiles()).map(CarbonFile::getName)
              .collect(Collectors.toSet());
    } else return ImmutableSet.of();
  }
private Set < String > updateTableList ( String schemaName ) { List < CarbonFile > schema = Stream . of ( carbonFileList . listFiles ( ) ) . filter ( a -> schemaName . equals ( a . getName ( ) ) ) . collect ( Collectors . toList ( ) ) ; if ( schema . size ( ) > 0 ) { return Stream . of ( ( schema . get ( 0 ) ) . listFiles ( ) ) . map ( CarbonFile :: getName ) . collect ( Collectors . toSet ( ) ) ; } else return ImmutableSet . of ( ) ; }
Get the names of the tables in the given schema.
Get the names of the tables in the given schema .