Package io.trino.plugin.redis
Class RedisSplit
- java.lang.Object
-
- io.trino.plugin.redis.RedisSplit
-
- All Implemented Interfaces:
ConnectorSplit
public final class RedisSplit extends Object implements ConnectorSplit
Represents a Redis specificConnectorSplit.
-
-
Constructor Summary
Constructors Constructor Description RedisSplit(String schemaName, String tableName, String keyDataFormat, String valueDataFormat, String keyName, long start, long end, List<HostAddress> nodes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<HostAddress>getAddresses()longgetEnd()ObjectgetInfo()StringgetKeyDataFormat()RedisDataTypegetKeyDataType()StringgetKeyName()List<HostAddress>getNodes()StringgetSchemaName()longgetStart()StringgetTableName()StringgetValueDataFormat()RedisDataTypegetValueDataType()booleanisRemotelyAccessible()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.trino.spi.connector.ConnectorSplit
getSplitWeight
-
-
-
-
Method Detail
-
getSchemaName
public String getSchemaName()
-
getTableName
public String getTableName()
-
getKeyDataFormat
public String getKeyDataFormat()
-
getValueDataFormat
public String getValueDataFormat()
-
getKeyName
public String getKeyName()
-
getNodes
public List<HostAddress> getNodes()
-
getValueDataType
public RedisDataType getValueDataType()
-
getKeyDataType
public RedisDataType getKeyDataType()
-
getStart
public long getStart()
-
getEnd
public long getEnd()
-
isRemotelyAccessible
public boolean isRemotelyAccessible()
- Specified by:
isRemotelyAccessiblein interfaceConnectorSplit
-
getAddresses
public List<HostAddress> getAddresses()
- Specified by:
getAddressesin interfaceConnectorSplit
-
getInfo
public Object getInfo()
- Specified by:
getInfoin interfaceConnectorSplit
-
-