kinetica-protolib/src/main/java/com/streamsets/pipeline/stage/kinetica/util/KineticaTableUtils.java
private JSONObject getTableSchema(String tableName, ShowTableResponse showTableResponse) throws GPUdbException {

    List<String> schemas = showTableResponse.getTypeSchemas();

    if (schemas == null || schemas.size() != 1) {
      throw new GPUdbException("Error getting schema for table " + tableName);
    }

    return new JSONObject(schemas.get(0));
  }
private JSONObject getTableSchema(String tableName, ShowTableResponse showTableResponse) throws GPUdbException {

    List<String> schemas = showTableResponse.getTypeSchemas();

    if (schemas == null || schemas.size() != 1) {
      throw new GPUdbException("Error getting schema for table " + tableName);
    }

    return new JSONObject(schemas.get(0));
  }
private JSONObject getTableSchema ( String tableName , ShowTableResponse showTableResponse ) throws GPUdbException { List < String > schemas = showTableResponse . getTypeSchemas ( ) ; if ( schemas == null || schemas . size ( ) != 1 ) { throw new GPUdbException ( "Error getting schema for table " + tableName ) ; } return new JSONObject ( schemas . get ( 0 ) ) ; }
Get the table's schema as a JSON Object
Get the table s schema as a JSON Object