co.cask.cdap.conversion.app
Class AdapterArguments

java.lang.Object
  extended by co.cask.cdap.conversion.app.AdapterArguments

public class AdapterArguments
extends Object

Determines requires arguments for the adapter from the runtime arguments given to the program.


Field Summary
static String FORMAT_NAME
           
static String FORMAT_SETTINGS
           
static String FREQUENCY
           
static String HEADERS
           
static String MAPPER_MEMORY
           
static String MAPPER_VCORES
           
static String SCHEMA
           
static String SINK_NAME
           
static String SOURCE_NAME
           
 
Constructor Summary
AdapterArguments(Map<String,String> runtimeArgs)
           
 
Method Summary
 long getFrequency()
           
 String getHeadersStr()
           
 Resources getMapperResources()
           
 String getSinkName()
           
 org.apache.avro.Schema getSinkSchema()
           
 FormatSpecification getSourceFormatSpec()
           
 String getSourceName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FREQUENCY

public static final String FREQUENCY
See Also:
Constant Field Values

MAPPER_MEMORY

public static final String MAPPER_MEMORY
See Also:
Constant Field Values

MAPPER_VCORES

public static final String MAPPER_VCORES
See Also:
Constant Field Values

SINK_NAME

public static final String SINK_NAME
See Also:
Constant Field Values

SOURCE_NAME

public static final String SOURCE_NAME
See Also:
Constant Field Values

FORMAT_NAME

public static final String FORMAT_NAME
See Also:
Constant Field Values

FORMAT_SETTINGS

public static final String FORMAT_SETTINGS
See Also:
Constant Field Values

SCHEMA

public static final String SCHEMA
See Also:
Constant Field Values

HEADERS

public static final String HEADERS
See Also:
Constant Field Values
Constructor Detail

AdapterArguments

public AdapterArguments(Map<String,String> runtimeArgs)
                 throws IOException
Throws:
IOException
Method Detail

getSourceFormatSpec

public FormatSpecification getSourceFormatSpec()

getMapperResources

public Resources getMapperResources()

getSourceName

public String getSourceName()

getSinkName

public String getSinkName()

getHeadersStr

public String getHeadersStr()

getSinkSchema

public org.apache.avro.Schema getSinkSchema()

getFrequency

public long getFrequency()


Copyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.