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, transferDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeploy, dump, extract, extractAndTransfer, generateMaqlCreate, getSchema, setSchemapublic static ChargifyConnector createConnector()
public void extract(String file, boolean transform) throws IOException
extract in class AbstractConnectorfile - name of the target filetransform - perform transformationsIOExceptionpublic 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 ExecutorprocessCommand in class AbstractConnectorc - 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.