public class ImporterClient extends Object
Constructor and Description |
---|
ImporterClient(TiSession tiSession,
com.google.protobuf.ByteString uuid,
Key minKey,
Key maxKey,
TiRegion region,
Long ttl) |
Modifier and Type | Method and Description |
---|---|
boolean |
isDeduplicate() |
void |
setDeduplicate(boolean deduplicate) |
void |
write(Iterator<Pair<com.google.protobuf.ByteString,com.google.protobuf.ByteString>> iterator)
write KV pairs to RawKV/Txn using KVStream interface
|
public boolean isDeduplicate()
public void setDeduplicate(boolean deduplicate)
public void write(Iterator<Pair<com.google.protobuf.ByteString,com.google.protobuf.ByteString>> iterator) throws TiKVException
iterator
- TiKVException
Copyright © 2024 PingCAP. All rights reserved.