Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[HBase] Get row key

Hi there!
How can I get the row key in a tJavaRow from the row that outputs a tHBaseInput like the screenshot shows?
0683p000009MBxT.png
Thanks
Labels (3)
2 Replies
Anonymous
Not applicable
Author

Hi,
Are you looking for ((String)globalMap.get("row1.Column1")) from tHBaseInput? More information about your job requirement will be preferred.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina
The only purpose of the job is to display HBase row keys as rows are delivered by tHBaseInput_2, assuming it is feasible. As you said, I've tried System.out.println(((String)globalMap.get("row1.myColumn1"))) in tJavaRow_1 but I'm getting nulls as output.
Instead, if I write System.out.println(row1.myColumn1) I can see values displayed, however, it is not the values but the keys what I am interested in. Is is possible to do such thing?
Here are the schema and mapping of tHBaseInput_2:
0683p000009MChc.png
Thank you in advance