public class DynamoDBWriter extends Object implements RowWriter
Constructor and Description |
---|
DynamoDBWriter(com.amazonaws.services.dynamodbv2.AmazonDynamoDBAsync client,
String tableName,
boolean isDataIndex) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush()
Flush the writer, committing all pending writes.
|
void |
write(GeoWaveRow row)
Write a GeoWave row to the DB.
|
void |
write(GeoWaveRow[] rows)
Write multiple GeoWave rows to the DB.
|
void |
write(Iterable<com.amazonaws.services.dynamodbv2.model.WriteRequest> items) |
void |
write(com.amazonaws.services.dynamodbv2.model.WriteRequest item) |
public DynamoDBWriter(com.amazonaws.services.dynamodbv2.AmazonDynamoDBAsync client, String tableName, boolean isDataIndex)
public void close() throws IOException
close
in interface AutoCloseable
IOException
public void write(GeoWaveRow[] rows)
RowWriter
public void write(GeoWaveRow row)
RowWriter
public void write(Iterable<com.amazonaws.services.dynamodbv2.model.WriteRequest> items)
public void write(com.amazonaws.services.dynamodbv2.model.WriteRequest item)
public void flush()
RowWriter
Copyright © 2013–2022. All rights reserved.