davidzollo commented on code in PR #9938:
URL: https://github.com/apache/seatunnel/pull/9938#discussion_r2424137681
##########
seatunnel-connectors-v2/connector-hbase/src/main/java/org/apache/seatunnel/connectors/seatunnel/hbase/config/HbaseSourceOptions.java:
##########
@@ -17,4 +17,52 @@
package org.apache.seatunnel.connectors.seatunnel.hbase.config;
-public class HbaseSourceOptions extends HbaseBaseOptions {}
+import org.apache.seatunnel.api.configuration.Option;
+import org.apache.seatunnel.api.configuration.Options;
+
+public class HbaseSourceOptions extends HbaseBaseOptions {
+
+ public static final Option<String> START_ROW_KEY =
+ Options.key("start_rowkey")
+ .stringType()
+ .noDefaultValue()
+ .withDescription("Hbase scan start rowkey");
+
+ public static final Option<String> END_ROW_KEY =
+ Options.key("end_rowkey")
+ .stringType()
+ .noDefaultValue()
+ .withDescription("Hbase scan end rowkey");
+
+ public static final Option<Boolean> IS_BINARY_ROW_KEY =
+ Options.key("is-binary-row-key")
+ .booleanType()
+ .defaultValue(false)
+ .withDescription("is binary row key");
Review Comment:
```suggestion
Options.key("is-binary-rowkey")
.booleanType()
.defaultValue(false)
.withDescription("is binary rowkey");
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]