code: public StashTableMetadata getTableMetadata(String table)
              throws StashNotAvailableException, TableNotStashedException {
          ImmutableList.Builder<StashFileMetadata> filesBuilder = ImmutableList.builder();
  
          Iterator<S3ObjectSummary> objectSummaries = getS3ObjectSummariesForTable(table);
          while (objectSummaries.hasNext()) {
              S3ObjectSummary objectSummary = objectSummaries.next();
              filesBuilder.add(new StashFileMetadata(_bucket, objectSummary.getKey(), objectSummary.getSize()));
          }
  
          List<StashFileMetadata> files = filesBuilder.build();
  
          // Get the prefix arbitrarily from the first file.
          String prefix = files.get(0).getKey();
          prefix = prefix.substring(0, prefix.lastIndexOf('/') + 1);
  
          return new StashTableMetadata(_bucket, prefix, table, files);
      }
docs: Gets the metadata for a single table in this stash.  This is similar to getting the splits for the table
  except that it exposes lower level information about the underlying S3 files.  For clients who will use
  their own system for reading the files from S3, such as source files for a map-reduce job, this method provides
  the necessary information.  For simply iterating over the stash contents using either {@link #scan(String)}
  or {@link #getSplits(String)} in conjunction with {@link #getSplit(StashSplit)} is preferred.