org.usergrid.tools
Class Export

java.lang.Object
  extended by org.usergrid.tools.ToolBase
      extended by org.usergrid.tools.ExportingToolBase
          extended by org.usergrid.tools.Export

public class Export
extends ExportingToolBase


Field Summary
 
Fields inherited from class org.usergrid.tools.ExportingToolBase
baseOutputDirName, orgId, OUTPUT_DIR, outputDir, startTime
 
Fields inherited from class org.usergrid.tools.ToolBase
cass, embedded, emf, managementService, MAX_ENTITY_FETCH, PATH_REPLACEMENT, properties, smf
 
Constructor Summary
Export()
           
 
Method Summary
 void runTool(org.apache.commons.cli.CommandLine line)
           
 void streamOutput(File file, List<Entity> entities)
           
 
Methods inherited from class org.usergrid.tools.ExportingToolBase
applyOrgId, createCollectionsDir, createDir, createDir, createOptions, createOutputFile, createOutputFile, createOutputParentDir, getJsonGenerator, getJsonGenerator, prepareBaseOutputFileName, prepareOutputFileName, writeOutput
 
Methods inherited from class org.usergrid.tools.ToolBase
getToolName, printCliHelp, setCassandraService, setEntityManagerFactory, setManagementService, setProperties, setServiceManagerFactory, setupCassandra, startEmbedded, startSpring, startTool, teardownEmbedded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Export

public Export()
Method Detail

runTool

public void runTool(org.apache.commons.cli.CommandLine line)
             throws Exception
Specified by:
runTool in class ToolBase
Throws:
Exception

streamOutput

public void streamOutput(File file,
                         List<Entity> entities)
                  throws Exception
Throws:
Exception


Copyright © 2012. All Rights Reserved.