public interface Parse
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<ParseV3> |
parse(java.lang.String destination_frame,
java.lang.String[] source_frames) |
retrofit2.Call<ParseV3> |
parse(java.lang.String destination_frame,
java.lang.String[] source_frames,
ApiParseTypeValuesProvider parse_type,
byte separator,
boolean single_quotes,
int check_header,
int number_columns,
java.lang.String[] column_names,
java.lang.String[] column_types,
int[] skipped_columns,
boolean force_col_types,
java.lang.String[][] domains,
java.lang.String[][] na_strings,
int chunk_size,
boolean delete_on_done,
boolean blocking,
java.lang.String decrypt_tool,
java.lang.String custom_non_data_line_markers,
java.lang.String[] partition_by,
byte escapechar,
java.lang.String _exclude_fields)
Parse a raw byte-oriented Frame into a useful columnar data Frame.
|
@FormUrlEncoded @POST(value="/3/Parse") retrofit2.Call<ParseV3> parse(@Field(value="destination_frame") java.lang.String destination_frame, @Field(value="source_frames") java.lang.String[] source_frames, @Field(value="parse_type") ApiParseTypeValuesProvider parse_type, @Field(value="separator") byte separator, @Field(value="single_quotes") boolean single_quotes, @Field(value="check_header") int check_header, @Field(value="number_columns") int number_columns, @Field(value="column_names") java.lang.String[] column_names, @Field(value="column_types") java.lang.String[] column_types, @Field(value="skipped_columns") int[] skipped_columns, @Field(value="force_col_types") boolean force_col_types, @Field(value="domains") java.lang.String[][] domains, @Field(value="na_strings") java.lang.String[][] na_strings, @Field(value="chunk_size") int chunk_size, @Field(value="delete_on_done") boolean delete_on_done, @Field(value="blocking") boolean blocking, @Field(value="decrypt_tool") java.lang.String decrypt_tool, @Field(value="custom_non_data_line_markers") java.lang.String custom_non_data_line_markers, @Field(value="partition_by") java.lang.String[] partition_by, @Field(value="escapechar") byte escapechar, @Field(value="_exclude_fields") java.lang.String _exclude_fields)
destination_frame - Final frame namesource_frames - Source framesparse_type - Parser typeseparator - Field separatorsingle_quotes - Single Quotescheck_header - Check header: 0 means guess, +1 means 1st line is header not data, -1 means 1st line is data
not headernumber_columns - Number of columnscolumn_names - Column namescolumn_types - Value types for columnsskipped_columns - Skipped columns indicesforce_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 columnsettings will happen without setting this parameter. Defaults to
false.domains - Domains for categorical columnsna_strings - NA strings for columnschunk_size - Size of individual parse tasksdelete_on_done - Delete input key after parseblocking - Block until the parse completes (as opposed to returning early and requiring pollingdecrypt_tool - Key-reference to an initialized instance of a Decryption Toolcustom_non_data_line_markers - Custom characters to be treated as non-data line markerspartition_by - Name of the column the persisted dataset has been partitioned by.escapechar - One ASCII character used to escape other characters._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(value="/3/Parse") retrofit2.Call<ParseV3> parse(@Field(value="destination_frame") java.lang.String destination_frame, @Field(value="source_frames") java.lang.String[] source_frames)