Class StartLoaderJobRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.neptunedata.model.NeptunedataRequest
-
- software.amazon.awssdk.services.neptunedata.model.StartLoaderJobRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartLoaderJobRequest.Builder,StartLoaderJobRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartLoaderJobRequest extends NeptunedataRequest implements ToCopyableBuilder<StartLoaderJobRequest.Builder,StartLoaderJobRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartLoaderJobRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartLoaderJobRequest.Builderbuilder()List<String>dependencies()This is an optional parameter that can make a queued load request contingent on the successful completion of one or more previous jobs in the queue.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BooleanfailOnError()failOnError– A flag to toggle a complete stop on an error.Formatformat()The format of the data.StringformatAsString()The format of the data.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasDependencies()For responses, this returns true if the service returned a value for the Dependencies property.inthashCode()booleanhasParserConfiguration()For responses, this returns true if the service returned a value for the ParserConfiguration property.StringiamRoleArn()The Amazon Resource Name (ARN) for an IAM role to be assumed by the Neptune DB instance for access to the S3 bucket.Modemode()The load job mode.StringmodeAsString()The load job mode.Parallelismparallelism()The optionalparallelismparameter can be set to reduce the number of threads used by the bulk load process.StringparallelismAsString()The optionalparallelismparameter can be set to reduce the number of threads used by the bulk load process.Map<String,String>parserConfiguration()parserConfiguration– An optional object with additional parser configuration values.BooleanqueueRequest()This is an optional flag parameter that indicates whether the load request can be queued up or not.S3BucketRegions3BucketRegion()The Amazon region of the S3 bucket.Strings3BucketRegionAsString()The Amazon region of the S3 bucket.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StartLoaderJobRequest.Builder>serializableBuilderClass()Stringsource()Thesourceparameter accepts an S3 URI that identifies a single file, multiple files, a folder, or multiple folders.StartLoaderJobRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.BooleanupdateSingleCardinalityProperties()updateSingleCardinalityPropertiesis an optional parameter that controls how the bulk loader treats a new value for single-cardinality vertex or edge properties.BooleanuserProvidedEdgeIds()This parameter is required only when loading openCypher data that contains relationship IDs.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
source
public final String source()
The
sourceparameter accepts an S3 URI that identifies a single file, multiple files, a folder, or multiple folders. Neptune loads every data file in any folder that is specified.The URI can be in any of the following formats.
-
s3://(bucket_name)/(object-key-name) -
https://s3.amazonaws.com/(bucket_name)/(object-key-name) -
https://s3.us-east-1.amazonaws.com/(bucket_name)/(object-key-name)
The
object-key-nameelement of the URI is equivalent to the prefix parameter in an S3 ListObjects API call. It identifies all the objects in the specified S3 bucket whose names begin with that prefix. That can be a single file or folder, or multiple files and/or folders.The specified folder or folders can contain multiple vertex files and multiple edge files.
- Returns:
- The
sourceparameter accepts an S3 URI that identifies a single file, multiple files, a folder, or multiple folders. Neptune loads every data file in any folder that is specified.The URI can be in any of the following formats.
-
s3://(bucket_name)/(object-key-name) -
https://s3.amazonaws.com/(bucket_name)/(object-key-name) -
https://s3.us-east-1.amazonaws.com/(bucket_name)/(object-key-name)
The
object-key-nameelement of the URI is equivalent to the prefix parameter in an S3 ListObjects API call. It identifies all the objects in the specified S3 bucket whose names begin with that prefix. That can be a single file or folder, or multiple files and/or folders.The specified folder or folders can contain multiple vertex files and multiple edge files.
-
-
-
format
public final Format format()
The format of the data. For more information about data formats for the Neptune
Loadercommand, see Load Data Formats.Allowed values
-
csvfor the Gremlin CSV data format. -
opencypherfor the openCypher CSV data format. -
ntriplesfor the N-Triples RDF data format. -
nquadsfor the N-Quads RDF data format. -
rdfxmlfor the RDF\XML RDF data format. -
turtlefor the Turtle RDF data format.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The format of the data. For more information about data formats for the Neptune
Loadercommand, see Load Data Formats.Allowed values
-
csvfor the Gremlin CSV data format. -
opencypherfor the openCypher CSV data format. -
ntriplesfor the N-Triples RDF data format. -
nquadsfor the N-Quads RDF data format. -
rdfxmlfor the RDF\XML RDF data format. -
turtlefor the Turtle RDF data format.
-
- See Also:
Format
-
-
formatAsString
public final String formatAsString()
The format of the data. For more information about data formats for the Neptune
Loadercommand, see Load Data Formats.Allowed values
-
csvfor the Gremlin CSV data format. -
opencypherfor the openCypher CSV data format. -
ntriplesfor the N-Triples RDF data format. -
nquadsfor the N-Quads RDF data format. -
rdfxmlfor the RDF\XML RDF data format. -
turtlefor the Turtle RDF data format.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The format of the data. For more information about data formats for the Neptune
Loadercommand, see Load Data Formats.Allowed values
-
csvfor the Gremlin CSV data format. -
opencypherfor the openCypher CSV data format. -
ntriplesfor the N-Triples RDF data format. -
nquadsfor the N-Quads RDF data format. -
rdfxmlfor the RDF\XML RDF data format. -
turtlefor the Turtle RDF data format.
-
- See Also:
Format
-
-
s3BucketRegion
public final S3BucketRegion s3BucketRegion()
The Amazon region of the S3 bucket. This must match the Amazon Region of the DB cluster.
If the service returns an enum value that is not available in the current SDK version,
s3BucketRegionwill returnS3BucketRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available froms3BucketRegionAsString().- Returns:
- The Amazon region of the S3 bucket. This must match the Amazon Region of the DB cluster.
- See Also:
S3BucketRegion
-
s3BucketRegionAsString
public final String s3BucketRegionAsString()
The Amazon region of the S3 bucket. This must match the Amazon Region of the DB cluster.
If the service returns an enum value that is not available in the current SDK version,
s3BucketRegionwill returnS3BucketRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available froms3BucketRegionAsString().- Returns:
- The Amazon region of the S3 bucket. This must match the Amazon Region of the DB cluster.
- See Also:
S3BucketRegion
-
iamRoleArn
public final String iamRoleArn()
The Amazon Resource Name (ARN) for an IAM role to be assumed by the Neptune DB instance for access to the S3 bucket. The IAM role ARN provided here should be attached to the DB cluster (see Adding the IAM Role to an Amazon Neptune Cluster.
- Returns:
- The Amazon Resource Name (ARN) for an IAM role to be assumed by the Neptune DB instance for access to the S3 bucket. The IAM role ARN provided here should be attached to the DB cluster (see Adding the IAM Role to an Amazon Neptune Cluster.
-
mode
public final Mode mode()
The load job mode.
Allowed values:
RESUME,NEW,AUTO.Default value:
AUTO.-
RESUME– In RESUME mode, the loader looks for a previous load from this source, and if it finds one, resumes that load job. If no previous load job is found, the loader stops.The loader avoids reloading files that were successfully loaded in a previous job. It only tries to process failed files. If you dropped previously loaded data from your Neptune cluster, that data is not reloaded in this mode. If a previous load job loaded all files from the same source successfully, nothing is reloaded, and the loader returns success.
-
NEW– In NEW mode, the creates a new load request regardless of any previous loads. You can use this mode to reload all the data from a source after dropping previously loaded data from your Neptune cluster, or to load new data available at the same source. -
AUTO– In AUTO mode, the loader looks for a previous load job from the same source, and if it finds one, resumes that job, just as inRESUMEmode.If the loader doesn't find a previous load job from the same source, it loads all data from the source, just as in
NEWmode.
If the service returns an enum value that is not available in the current SDK version,
modewill returnMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The load job mode.
Allowed values:
RESUME,NEW,AUTO.Default value:
AUTO.-
RESUME– In RESUME mode, the loader looks for a previous load from this source, and if it finds one, resumes that load job. If no previous load job is found, the loader stops.The loader avoids reloading files that were successfully loaded in a previous job. It only tries to process failed files. If you dropped previously loaded data from your Neptune cluster, that data is not reloaded in this mode. If a previous load job loaded all files from the same source successfully, nothing is reloaded, and the loader returns success.
-
NEW– In NEW mode, the creates a new load request regardless of any previous loads. You can use this mode to reload all the data from a source after dropping previously loaded data from your Neptune cluster, or to load new data available at the same source. -
AUTO– In AUTO mode, the loader looks for a previous load job from the same source, and if it finds one, resumes that job, just as inRESUMEmode.If the loader doesn't find a previous load job from the same source, it loads all data from the source, just as in
NEWmode.
-
- See Also:
Mode
-
-
modeAsString
public final String modeAsString()
The load job mode.
Allowed values:
RESUME,NEW,AUTO.Default value:
AUTO.-
RESUME– In RESUME mode, the loader looks for a previous load from this source, and if it finds one, resumes that load job. If no previous load job is found, the loader stops.The loader avoids reloading files that were successfully loaded in a previous job. It only tries to process failed files. If you dropped previously loaded data from your Neptune cluster, that data is not reloaded in this mode. If a previous load job loaded all files from the same source successfully, nothing is reloaded, and the loader returns success.
-
NEW– In NEW mode, the creates a new load request regardless of any previous loads. You can use this mode to reload all the data from a source after dropping previously loaded data from your Neptune cluster, or to load new data available at the same source. -
AUTO– In AUTO mode, the loader looks for a previous load job from the same source, and if it finds one, resumes that job, just as inRESUMEmode.If the loader doesn't find a previous load job from the same source, it loads all data from the source, just as in
NEWmode.
If the service returns an enum value that is not available in the current SDK version,
modewill returnMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The load job mode.
Allowed values:
RESUME,NEW,AUTO.Default value:
AUTO.-
RESUME– In RESUME mode, the loader looks for a previous load from this source, and if it finds one, resumes that load job. If no previous load job is found, the loader stops.The loader avoids reloading files that were successfully loaded in a previous job. It only tries to process failed files. If you dropped previously loaded data from your Neptune cluster, that data is not reloaded in this mode. If a previous load job loaded all files from the same source successfully, nothing is reloaded, and the loader returns success.
-
NEW– In NEW mode, the creates a new load request regardless of any previous loads. You can use this mode to reload all the data from a source after dropping previously loaded data from your Neptune cluster, or to load new data available at the same source. -
AUTO– In AUTO mode, the loader looks for a previous load job from the same source, and if it finds one, resumes that job, just as inRESUMEmode.If the loader doesn't find a previous load job from the same source, it loads all data from the source, just as in
NEWmode.
-
- See Also:
Mode
-
-
failOnError
public final Boolean failOnError()
failOnError– A flag to toggle a complete stop on an error.Allowed values:
"TRUE","FALSE".Default value:
"TRUE".When this parameter is set to
"FALSE", the loader tries to load all the data in the location specified, skipping any entries with errors.When this parameter is set to
"TRUE", the loader stops as soon as it encounters an error. Data loaded up to that point persists.- Returns:
-
failOnError– A flag to toggle a complete stop on an error.Allowed values:
"TRUE","FALSE".Default value:
"TRUE".When this parameter is set to
"FALSE", the loader tries to load all the data in the location specified, skipping any entries with errors.When this parameter is set to
"TRUE", the loader stops as soon as it encounters an error. Data loaded up to that point persists.
-
parallelism
public final Parallelism parallelism()
The optional
parallelismparameter can be set to reduce the number of threads used by the bulk load process.Allowed values:
-
LOW– The number of threads used is the number of available vCPUs divided by 8. -
MEDIUM– The number of threads used is the number of available vCPUs divided by 2. -
HIGH– The number of threads used is the same as the number of available vCPUs. -
OVERSUBSCRIBE– The number of threads used is the number of available vCPUs multiplied by 2. If this value is used, the bulk loader takes up all available resources.This does not mean, however, that the
OVERSUBSCRIBEsetting results in 100% CPU utilization. Because the load operation is I/O bound, the highest CPU utilization to expect is in the 60% to 70% range.
Default value:
HIGHThe
parallelismsetting can sometimes result in a deadlock between threads when loading openCypher data. When this happens, Neptune returns theLOAD_DATA_DEADLOCKerror. You can generally fix the issue by settingparallelismto a lower setting and retrying the load command.If the service returns an enum value that is not available in the current SDK version,
parallelismwill returnParallelism.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparallelismAsString().- Returns:
- The optional
parallelismparameter can be set to reduce the number of threads used by the bulk load process.Allowed values:
-
LOW– The number of threads used is the number of available vCPUs divided by 8. -
MEDIUM– The number of threads used is the number of available vCPUs divided by 2. -
HIGH– The number of threads used is the same as the number of available vCPUs. -
OVERSUBSCRIBE– The number of threads used is the number of available vCPUs multiplied by 2. If this value is used, the bulk loader takes up all available resources.This does not mean, however, that the
OVERSUBSCRIBEsetting results in 100% CPU utilization. Because the load operation is I/O bound, the highest CPU utilization to expect is in the 60% to 70% range.
Default value:
HIGHThe
parallelismsetting can sometimes result in a deadlock between threads when loading openCypher data. When this happens, Neptune returns theLOAD_DATA_DEADLOCKerror. You can generally fix the issue by settingparallelismto a lower setting and retrying the load command. -
- See Also:
Parallelism
-
-
parallelismAsString
public final String parallelismAsString()
The optional
parallelismparameter can be set to reduce the number of threads used by the bulk load process.Allowed values:
-
LOW– The number of threads used is the number of available vCPUs divided by 8. -
MEDIUM– The number of threads used is the number of available vCPUs divided by 2. -
HIGH– The number of threads used is the same as the number of available vCPUs. -
OVERSUBSCRIBE– The number of threads used is the number of available vCPUs multiplied by 2. If this value is used, the bulk loader takes up all available resources.This does not mean, however, that the
OVERSUBSCRIBEsetting results in 100% CPU utilization. Because the load operation is I/O bound, the highest CPU utilization to expect is in the 60% to 70% range.
Default value:
HIGHThe
parallelismsetting can sometimes result in a deadlock between threads when loading openCypher data. When this happens, Neptune returns theLOAD_DATA_DEADLOCKerror. You can generally fix the issue by settingparallelismto a lower setting and retrying the load command.If the service returns an enum value that is not available in the current SDK version,
parallelismwill returnParallelism.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparallelismAsString().- Returns:
- The optional
parallelismparameter can be set to reduce the number of threads used by the bulk load process.Allowed values:
-
LOW– The number of threads used is the number of available vCPUs divided by 8. -
MEDIUM– The number of threads used is the number of available vCPUs divided by 2. -
HIGH– The number of threads used is the same as the number of available vCPUs. -
OVERSUBSCRIBE– The number of threads used is the number of available vCPUs multiplied by 2. If this value is used, the bulk loader takes up all available resources.This does not mean, however, that the
OVERSUBSCRIBEsetting results in 100% CPU utilization. Because the load operation is I/O bound, the highest CPU utilization to expect is in the 60% to 70% range.
Default value:
HIGHThe
parallelismsetting can sometimes result in a deadlock between threads when loading openCypher data. When this happens, Neptune returns theLOAD_DATA_DEADLOCKerror. You can generally fix the issue by settingparallelismto a lower setting and retrying the load command. -
- See Also:
Parallelism
-
-
hasParserConfiguration
public final boolean hasParserConfiguration()
For responses, this returns true if the service returned a value for the ParserConfiguration property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
parserConfiguration
public final Map<String,String> parserConfiguration()
parserConfiguration– An optional object with additional parser configuration values. Each of the child parameters is also optional:-
namedGraphUri– The default graph for all RDF formats when no graph is specified (for non-quads formats and NQUAD entries with no graph).The default is
https://aws.amazon.com/neptune/vocab/v01/DefaultNamedGraph. -
baseUri– The base URI for RDF/XML and Turtle formats.The default is
https://aws.amazon.com/neptune/default. -
allowEmptyStrings– Gremlin users need to be able to pass empty string values("") as node and edge properties when loading CSV data. IfallowEmptyStringsis set tofalse(the default), such empty strings are treated as nulls and are not loaded.If
allowEmptyStringsis set totrue, the loader treats empty strings as valid property values and loads them accordingly.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasParserConfiguration()method.- Returns:
-
parserConfiguration– An optional object with additional parser configuration values. Each of the child parameters is also optional:-
namedGraphUri– The default graph for all RDF formats when no graph is specified (for non-quads formats and NQUAD entries with no graph).The default is
https://aws.amazon.com/neptune/vocab/v01/DefaultNamedGraph. -
baseUri– The base URI for RDF/XML and Turtle formats.The default is
https://aws.amazon.com/neptune/default. -
allowEmptyStrings– Gremlin users need to be able to pass empty string values("") as node and edge properties when loading CSV data. IfallowEmptyStringsis set tofalse(the default), such empty strings are treated as nulls and are not loaded.If
allowEmptyStringsis set totrue, the loader treats empty strings as valid property values and loads them accordingly.
-
-
-
updateSingleCardinalityProperties
public final Boolean updateSingleCardinalityProperties()
updateSingleCardinalityPropertiesis an optional parameter that controls how the bulk loader treats a new value for single-cardinality vertex or edge properties. This is not supported for loading openCypher data.Allowed values:
"TRUE","FALSE".Default value:
"FALSE".By default, or when
updateSingleCardinalityPropertiesis explicitly set to"FALSE", the loader treats a new value as an error, because it violates single cardinality.When
updateSingleCardinalityPropertiesis set to"TRUE", on the other hand, the bulk loader replaces the existing value with the new one. If multiple edge or single-cardinality vertex property values are provided in the source file(s) being loaded, the final value at the end of the bulk load could be any one of those new values. The loader only guarantees that the existing value has been replaced by one of the new ones.- Returns:
updateSingleCardinalityPropertiesis an optional parameter that controls how the bulk loader treats a new value for single-cardinality vertex or edge properties. This is not supported for loading openCypher data.Allowed values:
"TRUE","FALSE".Default value:
"FALSE".By default, or when
updateSingleCardinalityPropertiesis explicitly set to"FALSE", the loader treats a new value as an error, because it violates single cardinality.When
updateSingleCardinalityPropertiesis set to"TRUE", on the other hand, the bulk loader replaces the existing value with the new one. If multiple edge or single-cardinality vertex property values are provided in the source file(s) being loaded, the final value at the end of the bulk load could be any one of those new values. The loader only guarantees that the existing value has been replaced by one of the new ones.
-
queueRequest
public final Boolean queueRequest()
This is an optional flag parameter that indicates whether the load request can be queued up or not.
You don't have to wait for one load job to complete before issuing the next one, because Neptune can queue up as many as 64 jobs at a time, provided that their
queueRequestparameters are all set to"TRUE". The queue order of the jobs will be first-in-first-out (FIFO).If the
queueRequestparameter is omitted or set to"FALSE", the load request will fail if another load job is already running.Allowed values:
"TRUE","FALSE".Default value:
"FALSE".- Returns:
- This is an optional flag parameter that indicates whether the load request can be queued up or not.
You don't have to wait for one load job to complete before issuing the next one, because Neptune can queue up as many as 64 jobs at a time, provided that their
queueRequestparameters are all set to"TRUE". The queue order of the jobs will be first-in-first-out (FIFO).If the
queueRequestparameter is omitted or set to"FALSE", the load request will fail if another load job is already running.Allowed values:
"TRUE","FALSE".Default value:
"FALSE".
-
hasDependencies
public final boolean hasDependencies()
For responses, this returns true if the service returned a value for the Dependencies property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
dependencies
public final List<String> dependencies()
This is an optional parameter that can make a queued load request contingent on the successful completion of one or more previous jobs in the queue.
Neptune can queue up as many as 64 load requests at a time, if their
queueRequestparameters are set to"TRUE". Thedependenciesparameter lets you make execution of such a queued request dependent on the successful completion of one or more specified previous requests in the queue.For example, if load
Job-AandJob-Bare independent of each other, but loadJob-CneedsJob-AandJob-Bto be finished before it begins, proceed as follows:-
Submit
load-job-Aandload-job-Bone after another in any order, and save their load-ids. -
Submit
load-job-Cwith the load-ids of the two jobs in itsdependenciesfield:
Because of the
dependenciesparameter, the bulk loader will not startJob-CuntilJob-AandJob-Bhave completed successfully. If either one of them fails, Job-C will not be executed, and its status will be set toLOAD_FAILED_BECAUSE_DEPENDENCY_NOT_SATISFIED.You can set up multiple levels of dependency in this way, so that the failure of one job will cause all requests that are directly or indirectly dependent on it to be cancelled.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasDependencies()method.- Returns:
- This is an optional parameter that can make a queued load request contingent on the successful completion
of one or more previous jobs in the queue.
Neptune can queue up as many as 64 load requests at a time, if their
queueRequestparameters are set to"TRUE". Thedependenciesparameter lets you make execution of such a queued request dependent on the successful completion of one or more specified previous requests in the queue.For example, if load
Job-AandJob-Bare independent of each other, but loadJob-CneedsJob-AandJob-Bto be finished before it begins, proceed as follows:-
Submit
load-job-Aandload-job-Bone after another in any order, and save their load-ids. -
Submit
load-job-Cwith the load-ids of the two jobs in itsdependenciesfield:
Because of the
dependenciesparameter, the bulk loader will not startJob-CuntilJob-AandJob-Bhave completed successfully. If either one of them fails, Job-C will not be executed, and its status will be set toLOAD_FAILED_BECAUSE_DEPENDENCY_NOT_SATISFIED.You can set up multiple levels of dependency in this way, so that the failure of one job will cause all requests that are directly or indirectly dependent on it to be cancelled.
-
-
-
userProvidedEdgeIds
public final Boolean userProvidedEdgeIds()
This parameter is required only when loading openCypher data that contains relationship IDs. It must be included and set to
Truewhen openCypher relationship IDs are explicitly provided in the load data (recommended).When
userProvidedEdgeIdsis absent or set toTrue, an:IDcolumn must be present in every relationship file in the load.When
userProvidedEdgeIdsis present and set toFalse, relationship files in the load must not contain an:IDcolumn. Instead, the Neptune loader automatically generates an ID for each relationship.It's useful to provide relationship IDs explicitly so that the loader can resume loading after error in the CSV data have been fixed, without having to reload any relationships that have already been loaded. If relationship IDs have not been explicitly assigned, the loader cannot resume a failed load if any relationship file has had to be corrected, and must instead reload all the relationships.
- Returns:
- This parameter is required only when loading openCypher data that contains relationship IDs. It must be
included and set to
Truewhen openCypher relationship IDs are explicitly provided in the load data (recommended).When
userProvidedEdgeIdsis absent or set toTrue, an:IDcolumn must be present in every relationship file in the load.When
userProvidedEdgeIdsis present and set toFalse, relationship files in the load must not contain an:IDcolumn. Instead, the Neptune loader automatically generates an ID for each relationship.It's useful to provide relationship IDs explicitly so that the loader can resume loading after error in the CSV data have been fixed, without having to reload any relationships that have already been loaded. If relationship IDs have not been explicitly assigned, the loader cannot resume a failed load if any relationship file has had to be corrected, and must instead reload all the relationships.
-
toBuilder
public StartLoaderJobRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartLoaderJobRequest.Builder,StartLoaderJobRequest>- Specified by:
toBuilderin classNeptunedataRequest
-
builder
public static StartLoaderJobRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartLoaderJobRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-