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

water.bindings.proxies.retrofit.ParseSetup Maven / Gradle / Ivy

There is a newer version: 3.46.0.5
Show newest version
/*
 * 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.proxies.retrofit;

import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;

public interface ParseSetup {

  /** 
   * Guess the parameters for parsing raw byte-oriented data into an H2O Frame.
   *   @param source_frames Source frames
   *   @param parse_type Parser type
   *   @param separator Field separator
   *   @param single_quotes Single quotes
   *   @param check_header Check header: 0 means guess, +1 means 1st line is header not data, -1 means 1st line is data
   *                       not header
   *   @param column_names Column names
   *   @param skipped_columns Skipped columns indices
   *   @param column_types Value types for columns
   *   @param na_strings NA strings for columns
   *   @param column_name_filter Regex for names of columns to return
   *   @param column_offset Column offset to return
   *   @param column_count Number of columns to return
   *   @param total_filtered_column_count Total number of columns we would return with no column pagination
   *   @param custom_non_data_line_markers Custom characters to be treated as non-data line markers
   *   @param decrypt_tool Key-reference to an initialized instance of a Decryption Tool
   *   @param partition_by Names of the columns the persisted dataset has been partitioned by.
   *   @param escapechar One ASCII character used to escape other characters.
   *   @param force_col_types If true, will force the column types to be either the ones in Parquet schema for Parquet
   *                          files or the ones specified in column_types.  This parameter is used for numerical columns
   *                          only.  Other column settings will happen without setting this parameter.  Defaults to
   *                          false.
   *   @param _exclude_fields Comma-separated list of JSON field paths to exclude from the result, used like:
   *                          "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
   */
  @FormUrlEncoded
  @POST("/3/ParseSetup")
  Call guessSetup(
    @Field("source_frames") String[] source_frames,
    @Field("parse_type") ApiParseTypeValuesProvider parse_type,
    @Field("separator") byte separator,
    @Field("single_quotes") boolean single_quotes,
    @Field("check_header") int check_header,
    @Field("column_names") String[] column_names,
    @Field("skipped_columns") int[] skipped_columns,
    @Field("column_types") String[] column_types,
    @Field("na_strings") String[][] na_strings,
    @Field("column_name_filter") String column_name_filter,
    @Field("column_offset") int column_offset,
    @Field("column_count") int column_count,
    @Field("total_filtered_column_count") int total_filtered_column_count,
    @Field("custom_non_data_line_markers") String custom_non_data_line_markers,
    @Field("decrypt_tool") String decrypt_tool,
    @Field("partition_by") String[] partition_by,
    @Field("escapechar") byte escapechar,
    @Field("force_col_types") boolean force_col_types,
    @Field("_exclude_fields") String _exclude_fields
  );

  @FormUrlEncoded
  @POST("/3/ParseSetup")
  Call guessSetup(@Field("source_frames") String[] source_frames);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy