public class ChargifyConnector extends AbstractConnector implements Connector
DATE_LENGTH_UNRESTRICTED, projectId, schema
Modifier | Constructor and Description |
---|---|
protected |
ChargifyConnector()
Creates a new Chargify connector
|
Modifier and Type | Method and Description |
---|---|
static ChargifyConnector |
createConnector()
Creates a new Chargify connector
|
void |
extract(String file,
boolean transform)
Extract rows
|
String |
getApiToken() |
String |
getDomain() |
String |
getEntity() |
String |
getFields() |
boolean |
processCommand(Command c,
CliParams cli,
ProcessingContext ctx)
Processes single command
|
void |
setApiToken(String apiToken) |
void |
setDomain(String d) |
void |
setEntity(String entity) |
void |
setFields(String fields) |
checkLoadingStatus, copyAndTransform, deploy, dump, dumpData, expandDates, extract, extractAndTransfer, generateMaqlCreate, getProjectId, getResult, getSchema, initSchema, populateColumnsFromSchema, setIncremental, setProjectId, setProjectId, setSchema, transferData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deploy, dump, extract, extractAndTransfer, generateMaqlCreate, getSchema, setSchema
public static ChargifyConnector createConnector()
public void extract(String file, boolean transform) throws IOException
extract
in class AbstractConnector
file
- name of the target filetransform
- perform transformationsIOException
public String getDomain()
public void setDomain(String d)
d
- the domain to setpublic boolean processCommand(Command c, CliParams cli, ProcessingContext ctx) throws ProcessingException
processCommand
in interface Executor
processCommand
in class AbstractConnector
c
- command to be processedcli
- parameters (commandline params)ctx
- processing contextProcessingException
- in case of issues during the command processingpublic String getFields()
public void setFields(String fields)
public String getEntity()
public void setEntity(String entity)
public String getApiToken()
public void setApiToken(String apiToken)
Copyright © 2014. All rights reserved.