Open
Conversation
…/dagger into feat-add-tablestore-longbow-storage
rajuGT
reviewed
Aug 26, 2025
| if (LongbowStorageType.TABLESTORE.equals(LongbowStorageType.valueOf(configuration.getString(Constants.PROCESSOR_LONGBOW_STORAGE_TYPE)))) { | ||
| return new LongbowStore(new TablestoreLongbowOperationStrategy(configuration)); | ||
| } | ||
| return new LongbowStore(new BigTableLongbowOperationStrategy(configuration)); |
There was a problem hiding this comment.
else if it BigTable then create line 36
else throw runtimeException with message, tablestore type not supported
| this.data = new HashMap<>(); | ||
| } | ||
|
|
||
| public void addData(byte[] columnFamily, byte[] qualifier, byte[] value) { |
| } | ||
|
|
||
| @Override | ||
| public ScanResult adapt(Row row) { |
|
|
||
| @Override | ||
| public ScanResult adapt(Result result) { | ||
| ScanResult scanResult = new ScanResult(result.getRow()); |
Comment on lines
+14
to
+15
| LongbowReadV2(LongbowKey.LONGBOW_READ, MandatoryFields.LONGBOW_READ, InvalidFields.LONGBOW_READ), | ||
| LongbowWriteV2(LongbowKey.LONGBOW_WRITE, MandatoryFields.LONGBOW_WRITE, InvalidFields.LONGBOW_WRITE); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce Tablestore as wide-column storage for longbow feature
Reference: https://www.alibabacloud.com/help/en/tablestore/developer-reference/quickly-use-the-tablestore-java-sdk?spm=a2c63.p38356.help-menu-27278.d_7_1_2.705a218fJtVlPx&scm=20140722.H_2591634._.OR_help-T_intl~en-V_1
Pending:
reference : https://github.com/ekawinataa/tablestore-demo/pulls