Package com.illumon.iris.db.v2.locations
Interface TableDataProtocol.RequestHandler
- Enclosing class:
- TableDataProtocol
public static interface TableDataProtocol.RequestHandler
Interface to a handler that processes table data requests.
-
Method Summary
Modifier and Type Method Description voidhandleColumnFileDataRequest(TableDataProtocol.Client peer, long requestKey, TableKey tableKey, TableLocationKey locationKey, CharSequence columnName, ColumnFileType columnFileType, long startOffset, int minimumLength)voidhandleColumnFileSizeRequest(TableDataProtocol.Client peer, long requestKey, TableKey tableKey, TableLocationKey locationKey, CharSequence columnName, ColumnFileType columnFileType, long requiredSize)voidhandleColumnLocationExistenceRequest(TableDataProtocol.Client peer, long requestKey, TableKey tableKey, TableLocationKey locationKey, CharSequence columnName)voidhandleTableLocationRefreshRequest(TableDataProtocol.Client peer, long requestKey, boolean subscribe, TableKey tableKey, TableLocationKey locationKey)voidhandleTableLocationsRequest(TableDataProtocol.Client peer, long requestKey, boolean subscribe, TableKey tableKey)voidhandleUnsubscribeRequest(TableDataProtocol.Client peer, long requestKey, long requestKeyToUnsubscribe)voidlostConnection(TableDataProtocol.Client peer)
-
Method Details
-
handleUnsubscribeRequest
void handleUnsubscribeRequest(@NotNull TableDataProtocol.Client peer, long requestKey, long requestKeyToUnsubscribe) -
handleTableLocationsRequest
void handleTableLocationsRequest(@NotNull TableDataProtocol.Client peer, long requestKey, boolean subscribe, @NotNull TableKey tableKey) -
handleTableLocationRefreshRequest
void handleTableLocationRefreshRequest(@NotNull TableDataProtocol.Client peer, long requestKey, boolean subscribe, @NotNull TableKey tableKey, @NotNull TableLocationKey locationKey) -
handleColumnLocationExistenceRequest
void handleColumnLocationExistenceRequest(@NotNull TableDataProtocol.Client peer, long requestKey, @NotNull TableKey tableKey, @NotNull TableLocationKey locationKey, @NotNull CharSequence columnName) -
handleColumnFileSizeRequest
void handleColumnFileSizeRequest(@NotNull TableDataProtocol.Client peer, long requestKey, @NotNull TableKey tableKey, @NotNull TableLocationKey locationKey, @NotNull CharSequence columnName, @NotNull ColumnFileType columnFileType, long requiredSize) -
handleColumnFileDataRequest
void handleColumnFileDataRequest(@NotNull TableDataProtocol.Client peer, long requestKey, @NotNull TableKey tableKey, @NotNull TableLocationKey locationKey, @NotNull CharSequence columnName, @NotNull ColumnFileType columnFileType, long startOffset, int minimumLength) -
lostConnection
-