use of org.apache.asterix.external.api.IJListAccessor in project asterixdb by apache.
the class JObjectPointableVisitor method visit.
@Override
public IJObject visit(AListVisitablePointable accessor, TypeInfo arg) throws HyracksDataException {
IJObject result = null;
IJListAccessor jListAccessor = laccessorToPrinter.get(accessor);
if (jListAccessor == null) {
jListAccessor = new JListAccessor(arg.getObjectPool());
laccessorToPrinter.put(accessor, jListAccessor);
}
result = jListAccessor.access(accessor, arg.getObjectPool(), arg.getAtype(), this);
return result;
}
Aggregations