当前位置: 首页>>代码示例>>Java>>正文


Java Default类代码示例

本文整理汇总了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();
 
开发者ID:apache,项目名称:beam,代码行数:12,代码来源:GcsOptions.java

示例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();
 
开发者ID:apache,项目名称:beam,代码行数:10,代码来源:HadoopFileSystemOptions.java

示例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();
 
开发者ID:GoogleCloudPlatform,项目名称:dataflow-opinion-analysis,代码行数:4,代码来源:ControlPipelineOptions.java

示例4: isControlGCS

import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Whether to use a GCS path for control")
@Default.Boolean(false)
boolean isControlGCS();
 
开发者ID:GoogleCloudPlatform,项目名称:dataflow-opinion-analysis,代码行数:4,代码来源:ControlPipelineOptions.java

示例5: isSourcePubsub

import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Whether to connect to Pub/Sub as source")
@Default.Boolean(false)
Boolean isSourcePubsub();
 
开发者ID:GoogleCloudPlatform,项目名称:dataflow-opinion-analysis,代码行数:4,代码来源:IndexerPipelineOptions.java

示例6: isSourceJDBC

import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Whether to connect to a JDBC source")
@Default.Boolean(false)
Boolean isSourceJDBC();
 
开发者ID:GoogleCloudPlatform,项目名称:dataflow-opinion-analysis,代码行数:4,代码来源:IndexerPipelineOptions.java

示例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();
 
开发者ID:GoogleCloudPlatform,项目名称:dataflow-opinion-analysis,代码行数:4,代码来源:IndexerPipelineOptions.java

示例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();
 
开发者ID:GoogleCloudPlatform,项目名称:dataflow-opinion-analysis,代码行数:4,代码来源:IndexerPipelineOptions.java

示例9: isSourceGDELTbucket

import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Whether to read files from GDELT bucket")
@Default.Boolean(false)
Boolean isSourceGDELTbucket();
 
开发者ID:GoogleCloudPlatform,项目名称:dataflow-opinion-analysis,代码行数:4,代码来源:IndexerPipelineOptions.java

示例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();
 
开发者ID:GoogleCloudPlatform,项目名称:dataflow-opinion-analysis,代码行数:4,代码来源:IndexerPipelineOptions.java

示例11: getWriteTruncate

import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Truncate sink BigQuery dataset before writing")
@Default.Boolean(false)
Boolean getWriteTruncate();
 
开发者ID:GoogleCloudPlatform,项目名称:dataflow-opinion-analysis,代码行数:4,代码来源:IndexerPipelineOptions.java

示例12: getNamespace

import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Namespace of requested Entities, use `\"\"` for default")
@Default.String("")
ValueProvider<String> getNamespace();
 
开发者ID:cobookman,项目名称:teleport,代码行数:4,代码来源:DatastoreToGcs.java

示例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();
 
开发者ID:cobookman,项目名称:teleport,代码行数:4,代码来源:DatastoreToBq.java

示例14: getQuitePeriod

import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Quite Period from last job start. In minutes")
@Default.Integer(5)
Integer getQuitePeriod();
 
开发者ID:chaimt,项目名称:schedule-dataflow-appengine,代码行数:4,代码来源:DataFlowUtils.java

示例15: getTopic

import org.apache.beam.sdk.options.Default; //导入依赖的package包/类
@Description("Topic to read from")
@Default.String("game")
String getTopic();
 
开发者ID:davorbonaci,项目名称:beam-portability-demo,代码行数:4,代码来源:LeaderBoard.java


注:本文中的org.apache.beam.sdk.options.Default类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。