Interface TableDataProtocol.RequestHandler
- Enclosing class:
- TableDataProtocol
public static interface TableDataProtocol.RequestHandler
Interface to a handler that processes table data requests.
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleAuthenticationRequest(TableDataProtocol.Client peer, long requestKey, AuthToken token) 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) void
-
Method Details
-
handleUnsubscribeRequest
void handleUnsubscribeRequest(@NotNull TableDataProtocol.Client peer, long requestKey, long requestKeyToUnsubscribe) -
handleAuthenticationRequest
void handleAuthenticationRequest(@NotNull TableDataProtocol.Client peer, long requestKey, AuthToken token) -
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
-