|
UserGuideJava
User guide for the Java mapper library.
Configuration ParametersYou can set the following in your configuration to customize mapper behavior:
There are additional configuration options defined in the AppEngineJobContext class. Additionally, each input format has its own configuration options: There is currently only one input format: DatastoreInputFormat. Its options are:
Batch Datastore MutationsYou can use the DatastoreMutationPool class to batch datastore puts or deletes. A DatastoreMutationPool with the default thresholds is available from the AppEngineMapper.AppEngineContext class, which is accessible using the AppEngineMapper.getAppEngineContext() method. Current Java LimitationsThe following limitations apply to the current implementation. We're working to remove all of them:
| ||||||||||||||||||
► Sign in to add a comment
Add your own mapper parameters for use during the operation:
This CSV import demo is part of: http://demofileuploadgae.appspot.com/
Set the configuration like: Source
Read the configuration like: Source
String delimiter = context.getConfiguration().get("delimiter"); String skipRow1 = context.getConfiguration().get("skipRow1");Thanks branflak, exactly what I was looking for!
I downloaded your code and tried to run but its displaying
Unable to load server class 'org.gonevertical.upload.DemoUpload?' java.lang.ClassNotFoundException?: org.gonevertical.upload.DemoUpload?
Google Web Toolkit 2.3.0 DevMode? [-noserver] [-port port-number | "auto"] [-whitelist whitelist-string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-bindAddress host-name-or-address] [-codeServerPort port-number | "auto"] [-server servletContainerLauncher[:args]] [-startupUrl url] [-war dir] [-deploy dir] [-extra dir] [-workDir dir] modules?where
and