Package com.illumon.iris.db.v2.locations
Interface TableDataProtocol.Server
- All Superinterfaces:
com.fishlib.net.impl.nio.AbstractPeer,com.fishlib.base.log.LogOutputAppendable
- All Known Implementing Classes:
TableDataProtocol.LocalServer,TableDataProtocol.RemoteServer
- Enclosing class:
- TableDataProtocol
public static interface TableDataProtocol.Server
extends com.fishlib.net.impl.nio.AbstractPeer
Interface to a peer that responds to requests for table data.
Used by a remote table data client to represent its servers.
-
Method Summary
Modifier and Type Method Description voidsendColumnFileDataRequest(long requestKey, TableKey tableKey, TableLocationKey locationKey, CharSequence columnName, ColumnFileType columnFileType, long startOffset, int minimumLength)voidsendColumnFileSizeRequest(long requestKey, TableKey tableKey, TableLocationKey locationKey, CharSequence columnName, ColumnFileType columnFileType, long requiredSize)voidsendColumnLocationExistenceRequest(long requestKey, TableKey tableKey, TableLocationKey locationKey, CharSequence columnName)voidsendTableLocationRefreshRequest(long requestKey, boolean subscribe, TableKey tableKey, TableLocationKey locationKey)voidsendTableLocationsRequest(long requestKey, boolean subscribe, TableKey tableKey)voidsendUnsubscribeRequest(long requestKey, long requestKeyToUnsubscribe)
-
Method Details
-
sendUnsubscribeRequest
- Throws:
IOException
-
sendTableLocationsRequest
void sendTableLocationsRequest(long requestKey, boolean subscribe, @NotNull TableKey tableKey) throws IOException- Throws:
IOException
-
sendTableLocationRefreshRequest
void sendTableLocationRefreshRequest(long requestKey, boolean subscribe, @NotNull TableKey tableKey, @NotNull TableLocationKey locationKey) throws IOException- Throws:
IOException
-
sendColumnLocationExistenceRequest
void sendColumnLocationExistenceRequest(long requestKey, @NotNull TableKey tableKey, @NotNull TableLocationKey locationKey, @NotNull CharSequence columnName) throws IOException- Throws:
IOException
-
sendColumnFileSizeRequest
void sendColumnFileSizeRequest(long requestKey, @NotNull TableKey tableKey, @NotNull TableLocationKey locationKey, @NotNull CharSequence columnName, @NotNull ColumnFileType columnFileType, long requiredSize) throws IOException- Throws:
IOException
-
sendColumnFileDataRequest
void sendColumnFileDataRequest(long requestKey, @NotNull TableKey tableKey, @NotNull TableLocationKey locationKey, @NotNull CharSequence columnName, @NotNull ColumnFileType columnFileType, long startOffset, int minimumLength) throws IOException- Throws:
IOException
-