![JAR search and dependency download from the Maven repository](/logo.png)
com.amazonaws.dynamodb.bootstrap.SegmentedScanResult Maven / Gradle / Ivy
/*
* Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Amazon Software License (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/asl/
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.dynamodb.bootstrap;
import com.amazonaws.services.dynamodbv2.model.ScanResult;
/**
* Encapsulates segment number in scan result
*
*/
public class SegmentedScanResult {
private final ScanResult result;
private final int segment;
public SegmentedScanResult(ScanResult result, int segment) {
this.result = result;
this.segment = segment;
}
public ScanResult getScanResult() {
return result;
}
public int getSegment() {
return segment;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy