public class UserRecord extends Object
| Constructor and Description |
|---|
UserRecord() |
UserRecord(String streamName,
String partitionKey,
ByteBuffer data) |
UserRecord(String streamName,
String partitionKey,
String explicitHashKey,
ByteBuffer data) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
getData() |
String |
getExplicitHashKey() |
String |
getPartitionKey() |
String |
getStreamName() |
void |
setData(ByteBuffer data) |
void |
setExplicitHashKey(String explicitHashKey) |
void |
setPartitionKey(String partitionKey) |
void |
setStreamName(String streamName) |
UserRecord |
withData(ByteBuffer byteBuffer) |
UserRecord |
withExplicitHashKey(String explicitHashKey) |
UserRecord |
withPartitionKey(String partitionKey) |
UserRecord |
withStreamName(String streamName) |
public UserRecord()
public UserRecord(String streamName, String partitionKey, ByteBuffer data)
public UserRecord(String streamName, String partitionKey, String explicitHashKey, ByteBuffer data)
public String getStreamName()
public void setStreamName(String streamName)
public UserRecord withStreamName(String streamName)
public String getPartitionKey()
public void setPartitionKey(String partitionKey)
public UserRecord withPartitionKey(String partitionKey)
public ByteBuffer getData()
public void setData(ByteBuffer data)
public UserRecord withData(ByteBuffer byteBuffer)
public String getExplicitHashKey()
public void setExplicitHashKey(String explicitHashKey)
public UserRecord withExplicitHashKey(String explicitHashKey)
Copyright © 2018. All rights reserved.