target.apidocs.com.google.api.services.dataflow.model.SourceSplitRequest.html Maven / Gradle / Ivy
SourceSplitRequest (Dataflow API v1b3-rev20231112-2.0.0)
com.google.api.services.dataflow.model
Class SourceSplitRequest
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.dataflow.model.SourceSplitRequest
-
public final class SourceSplitRequest
extends com.google.api.client.json.GenericJson
Represents the operation to split a high-level Source specification into bundles (parts for
parallel processing). At a high level, splitting of a source into bundles happens as follows:
SourceSplitRequest is applied to the source. If it returns SOURCE_SPLIT_OUTCOME_USE_CURRENT, no
further splitting happens and the source is used "as is". Otherwise, splitting is applied
recursively to each produced DerivedSource. As an optimization, for any Source, if its
does_not_need_splitting is true, the framework assumes that splitting this source would return
SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest. This applies both to
the initial source being split and to bundles produced from it.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Dataflow API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
SourceSplitRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
SourceSplitRequest
clone()
SourceSplitOptions
getOptions()
Hints for tuning the splitting process.
Source
getSource()
Specification of the source to be split.
SourceSplitRequest
set(String fieldName,
Object value)
SourceSplitRequest
setOptions(SourceSplitOptions options)
Hints for tuning the splitting process.
SourceSplitRequest
setSource(Source source)
Specification of the source to be split.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getOptions
public SourceSplitOptions getOptions()
Hints for tuning the splitting process.
- Returns:
- value or
null
for none
-
setOptions
public SourceSplitRequest setOptions(SourceSplitOptions options)
Hints for tuning the splitting process.
- Parameters:
options
- options or null
for none
-
getSource
public Source getSource()
Specification of the source to be split.
- Returns:
- value or
null
for none
-
setSource
public SourceSplitRequest setSource(Source source)
Specification of the source to be split.
- Parameters:
source
- source or null
for none
-
set
public SourceSplitRequest set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public SourceSplitRequest clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy