本文整理汇总了Java中org.apache.beam.sdk.options.Description类的典型用法代码示例。如果您正苦于以下问题:Java Description类的具体用法?Java Description怎么用?Java Description使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Description类属于org.apache.beam.sdk.options包,在下文中一共展示了Description类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getSaveHeapDumpsToGcsPath
import org.apache.beam.sdk.options.Description; //导入依赖的package包/类
/**
* CAUTION: This option implies dumpHeapOnOOM, and has similar caveats. Specifically, heap
* dumps can of comparable size to the default boot disk. Consider increasing the boot disk size
* before setting this flag to true.
*/
@Description(
"[EXPERIMENTAL] Set to a GCS bucket (directory) to upload heap dumps to the given location.\n"
+ "Enabling this implies that heap dumps should be generated on OOM (--dumpHeapOnOOM=true)\n"
+ "Uploads will continue until the pipeline is stopped or updated without this option.\n")
@Experimental
String getSaveHeapDumpsToGcsPath();
示例2: isBlockOnRun
import org.apache.beam.sdk.options.Description; //导入依赖的package包/类
@Default.Boolean(true)
@Description(
"If the pipeline should block awaiting completion of the pipeline. If set to true, "
+ "a call to Pipeline#run() will block until all PTransforms are complete. Otherwise, "
+ "the Pipeline will execute asynchronously. If set to false, use "
+ "PipelineResult#waitUntilFinish() to block until the Pipeline is complete.")
boolean isBlockOnRun();
示例3: getTransformNameMapping
import org.apache.beam.sdk.options.Description; //导入依赖的package包/类
/**
* Mapping of old PTranform names to new ones, specified as JSON
* <code>{"oldName":"newName",...}</code>. To mark a transform as deleted, make newName the
* empty string.
*/
@JsonIgnore
@Description(
"Mapping of old PTranform names to new ones, specified as JSON "
+ "{\"oldName\":\"newName\",...}. To mark a transform as deleted, make newName the empty "
+ "string.")
Map<String, String> getTransformNameMapping();
示例4: getTextColumnIdx
import org.apache.beam.sdk.options.Description; //导入依赖的package包/类
@Description("Zero-based index of the Text column in input file")
Integer getTextColumnIdx();
开发者ID:GoogleCloudPlatform,项目名称:dataflow-opinion-analysis,代码行数:3,代码来源:FileIndexerPipelineOptions.java
示例5: getCollectionItemIdIdx
import org.apache.beam.sdk.options.Description; //导入依赖的package包/类
@Description("Zero-based index of the Collection Item ID column - unique identifier - in input file")
Integer getCollectionItemIdIdx();
开发者ID:GoogleCloudPlatform,项目名称:dataflow-opinion-analysis,代码行数:3,代码来源:FileIndexerPipelineOptions.java
示例6: isControlPubsub
import org.apache.beam.sdk.options.Description; //导入依赖的package包/类
@Description("Whether to use a Pub/Sub topic for control")
@Default.Boolean(true)
boolean isControlPubsub();
示例7: isControlGCS
import org.apache.beam.sdk.options.Description; //导入依赖的package包/类
@Description("Whether to use a GCS path for control")
@Default.Boolean(false)
boolean isControlGCS();
示例8: getControlPubsubTopic
import org.apache.beam.sdk.options.Description; //导入依赖的package包/类
@Description("Control Pub/Sub topic")
String getControlPubsubTopic();
示例9: getControlGCSPath
import org.apache.beam.sdk.options.Description; //导入依赖的package包/类
@Description("Control GCS path")
String getControlGCSPath();
示例10: getJobAutoscalingAlgorithm
import org.apache.beam.sdk.options.Description; //导入依赖的package包/类
@Description("Value of autoscalingAlgorithm param for initiated Jobs")
String getJobAutoscalingAlgorithm();
示例11: getJobMaxNumWorkers
import org.apache.beam.sdk.options.Description; //导入依赖的package包/类
@Description("Value of maxNumWorkers param for initiated Jobs")
Integer getJobMaxNumWorkers();
示例12: getJobWorkerMachineType
import org.apache.beam.sdk.options.Description; //导入依赖的package包/类
@Description("Worker machine type for initiated Jobs")
String getJobWorkerMachineType();
示例13: getJobDiskSizeGb
import org.apache.beam.sdk.options.Description; //导入依赖的package包/类
@Description("Size of PD Disks for initiated Jobs")
Integer getJobDiskSizeGb();
示例14: getJobStagingLocation
import org.apache.beam.sdk.options.Description; //导入依赖的package包/类
@Description("Staging location for launched pipelines")
String getJobStagingLocation();
示例15: isSourcePubsub
import org.apache.beam.sdk.options.Description; //导入依赖的package包/类
@Description("Whether to connect to Pub/Sub as source")
@Default.Boolean(false)
Boolean isSourcePubsub();