T - the type of emit data.public abstract class InputSplitReader<T> extends Object
| Constructor and Description |
|---|
InputSplitReader(ConnectorConfig connectorConfig,
int partitionId,
List<InputLedger> ledgersToRead) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
abstract T |
deserialize(org.apache.pulsar.common.api.raw.RawMessage currentMessage) |
T |
get() |
boolean |
next() |
public InputSplitReader(ConnectorConfig connectorConfig, int partitionId, List<InputLedger> ledgersToRead) throws Exception
Exceptionpublic boolean next()
throws IOException
IOExceptionpublic abstract T deserialize(org.apache.pulsar.common.api.raw.RawMessage currentMessage) throws IOException
IOExceptionpublic T get() throws IOException
IOExceptionCopyright © 2019–2021 The Apache Software Foundation. All rights reserved.