water.bindings.pojos.ImportSQLTableV99 Maven / Gradle / Ivy
/*
* This file is auto-generated by h2o-3/h2o-bindings/bin/gen_java.py
* Copyright 2016 H2O.ai; Apache License Version 2.0 (see LICENSE for details)
*/
package water.bindings.pojos;
import com.google.gson.Gson;
import com.google.gson.annotations.*;
public class ImportSQLTableV99 extends RequestSchemaV3 {
/**
* connection_url
*/
@SerializedName("connection_url")
public String connectionUrl;
/**
* table
*/
public String table;
/**
* select_query
*/
@SerializedName("select_query")
public String selectQuery;
/**
* use_temp_table
*/
@SerializedName("use_temp_table")
public String useTempTable;
/**
* temp_table_name
*/
@SerializedName("temp_table_name")
public String tempTableName;
/**
* username
*/
public String username;
/**
* password
*/
public String password;
/**
* columns
*/
public String columns;
/**
* Mode for data loading. All modes may not be supported by all databases.
*/
@SerializedName("fetch_mode")
public String fetchMode;
/**
* Desired number of chunks for the target Frame. Optional.
*/
@SerializedName("num_chunks_hint")
public String numChunksHint;
/*------------------------------------------------------------------------------------------------------------------
// INHERITED
//------------------------------------------------------------------------------------------------------------------
// Comma-separated list of JSON field paths to exclude from the result, used like:
// "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
public String _excludeFields;
*/
/**
* Public constructor
*/
public ImportSQLTableV99() {
connectionUrl = "";
table = "";
selectQuery = "";
useTempTable = "";
tempTableName = "";
username = "";
password = "";
columns = "*";
fetchMode = "";
numChunksHint = "";
_excludeFields = "";
}
/**
* Return the contents of this object as a JSON String.
*/
@Override
public String toString() {
return new Gson().toJson(this);
}
}