All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tigergraph.jdbc.common.TableResults Maven / Gradle / Ivy

package com.tigergraph.jdbc.common;

import java.util.List;
import java.util.Map;

/**
 * Represent a tabular result.
 */
public class TableResults {
  /**
   * Each row may have multiple columns, each column has its name and value.
   * This information is stored in a map.
   * So the list of map represents a table.
   */
  private List> results;
  // List of column attributes.
  private List attributeList;
  private String table_name;

  public TableResults(List> results,
                      List attributeList, String table_name) {
    this.results = results;
    this.attributeList = attributeList;
    this.table_name = table_name;
  }

  public List> getResults() {
    return this.results;
  }

  public String getTableName() {
    return this.table_name;
  }

  public List getAttrList() {
    return this.attributeList;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy