public class StarRocksSinkBufferEntity extends Object implements Serializable
| Constructor and Description |
|---|
StarRocksSinkBufferEntity(String database,
String table,
String labelPrefix) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToBuffer(byte[] bts) |
StarRocksSinkBufferEntity |
asEOF() |
void |
clear() |
String |
createBatchLabel() |
boolean |
EOF() |
int |
getBatchCount() |
long |
getBatchSize() |
ArrayList<byte[]> |
getBuffer() |
String |
getDatabase() |
String |
getLabel() |
String |
getTable() |
String |
reGenerateLabel() |
void |
setDatabase(String database) |
void |
setTable(String table) |
public StarRocksSinkBufferEntity asEOF()
public boolean EOF()
public String getDatabase()
public void setDatabase(String database)
public String getTable()
public void setTable(String table)
public String getLabel()
public ArrayList<byte[]> getBuffer()
public void addToBuffer(byte[] bts)
public int getBatchCount()
public long getBatchSize()
public void clear()
public String reGenerateLabel()
public String createBatchLabel()
Copyright © 2023. All rights reserved.