We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd02581 commit 3aa4e73Copy full SHA for 3aa4e73
src/com/xxdb/data/BasicIotAnyVector.java
@@ -58,11 +58,18 @@ protected BasicIotAnyVector(ExtendedDataInput in) throws IOException {
58
}
59
60
61
- public Entity get(int index){
+ public Entity get(int index) {
62
BasicInt dataType = (BasicInt) indexsDataType.get(index);
63
return subVector.get(dataType.getInt());
64
65
66
+ public String getString(int index) {
67
+ BasicInt curDataType = (BasicInt) indexsDataType.get(index);
68
+ BasicInt curIndex = (BasicInt) indexs.get(index);
69
+
70
+ return ((Vector) subVector.get(curDataType.getInt())).get(curIndex.getInt()).getString();
71
+ }
72
73
public Vector getSubVector(int[] indices){
74
throw new RuntimeException("BasicIotAnyVector.getSubVector not supported.");
75
0 commit comments