use of com.torodb.core.language.AttributeReference in project torodb by torodb.
the class ToroIndexConverter method parseAttRef.
private AttributeReference parseAttRef(String key) {
//TODO: check attributes with '\.' characters
//TODO: Check attributes references with array keys
StringTokenizer tk = new StringTokenizer(key, ".");
AttributeReference.Builder attRefBuilder = new AttributeReference.Builder();
while (tk.hasMoreTokens()) {
attRefBuilder.addObjectKey(tk.nextToken());
}
return attRefBuilder.build();
}
Aggregations