本文整理汇总了Java中org.apache.beam.sdk.options.Default类的典型用法代码示例。如果您正苦于以下问题:Java Default类的具体用法?Java Default怎么用?Java Default使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Default类属于org.apache.beam.sdk.options包,在下文中一共展示了Default类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getPathValidator
import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
/**
* The path validator instance that should be used to validate paths.
* If no path validator has been set explicitly, the default is to use the instance factory that
* constructs a path validator based upon the currently set pathValidatorClass.
*/
@JsonIgnore
@Description("The path validator instance that should be used to validate paths. "
+ "If no path validator has been set explicitly, the default is to use the instance factory "
+ "that constructs a path validator based upon the currently set pathValidatorClass.")
@Default.InstanceFactory(PathValidatorFactory.class)
PathValidator getPathValidator();
示例2: getHdfsConfiguration
import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("A list of Hadoop configurations used to configure zero or more Hadoop filesystems. "
+ "By default, Hadoop configuration is loaded from 'core-site.xml' and 'hdfs-site.xml' "
+ "based upon the HADOOP_CONF_DIR and YARN_CONF_DIR environment variables. "
+ "To specify configuration on the command-line, represent the value as a JSON list of JSON "
+ "maps, where each map represents the entire configuration for a single Hadoop filesystem. "
+ "For example --hdfsConfiguration='[{\"fs.default.name\": \"hdfs://localhost:9998\", ...},"
+ "{\"fs.default.name\": \"s3a://\", ...},...]'")
@Default.InstanceFactory(ConfigurationLocator.class)
List<Configuration> getHdfsConfiguration();
示例3: isControlPubsub
import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Whether to use a Pub/Sub topic for control")
@Default.Boolean(true)
boolean isControlPubsub();
示例4: isControlGCS
import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Whether to use a GCS path for control")
@Default.Boolean(false)
boolean isControlGCS();
示例5: isSourcePubsub
import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Whether to connect to Pub/Sub as source")
@Default.Boolean(false)
Boolean isSourcePubsub();
示例6: isSourceJDBC
import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Whether to connect to a JDBC source")
@Default.Boolean(false)
Boolean isSourceJDBC();
示例7: isSourceRecordFile
import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Whether to connect to a GCS source in RecordFile format")
@Default.Boolean(false)
Boolean isSourceRecordFile();
示例8: isSourceRedditBQ
import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Whether to connect to BigQuery dataset with Reddit posts and comments")
@Default.Boolean(false)
Boolean isSourceRedditBQ();
示例9: isSourceGDELTbucket
import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Whether to read files from GDELT bucket")
@Default.Boolean(false)
Boolean isSourceGDELTbucket();
示例10: getIndexAsShorttext
import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Text indexing option: Index as Short text or as an Article. Default: false")
@Default.Boolean(false)
Boolean getIndexAsShorttext();
示例11: getWriteTruncate
import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Truncate sink BigQuery dataset before writing")
@Default.Boolean(false)
Boolean getWriteTruncate();
示例12: getNamespace
import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Namespace of requested Entities, use `\"\"` for default")
@Default.String("")
ValueProvider<String> getNamespace();
示例13: getStrictCast
import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Should do a strict Datastore Entity to BQ Table Row cast")
@Default.Boolean(false)
ValueProvider<Boolean> getStrictCast();
示例14: getQuitePeriod
import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Quite Period from last job start. In minutes")
@Default.Integer(5)
Integer getQuitePeriod();
示例15: getTopic
import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Topic to read from")
@Default.String("game")
String getTopic();