use of org.apache.thrift.protocol.TSet in project hive by apache.
the class TCTLSeparatedProtocol method readSetBegin.
@Override
public TSet readSetBegin() throws TException {
assert (!inner);
TSet set = new TSet();
if (columns[index] == null || columns[index].equals(nullString)) {
index++;
if (returnNulls) {
return null;
}
} else if (columns[index].isEmpty()) {
index++;
} else {
fields = secondaryPattern.split(columns[index++]);
set = new TSet(ORDERED_TYPE, fields.length);
}
inner = true;
innerIndex = 0;
return set;
}
Aggregations