public class LoadFileDesc extends LoadDesc implements Serializable
Constructor and Description |
---|
LoadFileDesc() |
LoadFileDesc(CreateTableDesc createTableDesc,
org.apache.hadoop.fs.Path sourcePath,
org.apache.hadoop.fs.Path targetDir,
boolean isDfsDir,
String columns,
String columnTypes) |
LoadFileDesc(org.apache.hadoop.fs.Path sourcePath,
org.apache.hadoop.fs.Path targetDir,
boolean isDfsDir,
String columns,
String columnTypes) |
Modifier and Type | Method and Description |
---|---|
String |
getColumns() |
String |
getColumnTypes() |
String |
getDestinationCreateTable() |
boolean |
getIsDfsDir() |
org.apache.hadoop.fs.Path |
getTargetDir() |
void |
setColumns(String columns) |
void |
setColumnTypes(String columnTypes) |
void |
setIsDfsDir(boolean isDfsDir) |
void |
setTargetDir(org.apache.hadoop.fs.Path targetDir) |
getSourcePath
public LoadFileDesc()
public LoadFileDesc(CreateTableDesc createTableDesc, org.apache.hadoop.fs.Path sourcePath, org.apache.hadoop.fs.Path targetDir, boolean isDfsDir, String columns, String columnTypes)
public org.apache.hadoop.fs.Path getTargetDir()
public void setTargetDir(org.apache.hadoop.fs.Path targetDir)
public boolean getIsDfsDir()
public void setIsDfsDir(boolean isDfsDir)
public String getColumns()
public void setColumns(String columns)
columns
- the columns to setpublic String getColumnTypes()
public void setColumnTypes(String columnTypes)
columnTypes
- the columnTypes to setpublic String getDestinationCreateTable()
Copyright © 2017 The Apache Software Foundation. All rights reserved.