public HollowDataAccess getDataAccess() { return typeDataAccess.getDataAccess(); }
@Override public String stringify(HollowRecord record) { return stringify(record.getTypeDataAccess().getDataAccess(), record.getSchema().getName(), record.getOrdinal()); }
@Override public void stringify(Writer writer, HollowRecord record) throws IOException { stringify(writer, record.getTypeDataAccess().getDataAccess(), record.getSchema().getName(), record.getOrdinal()); }
@Override public String stringify(HollowRecord record) { return stringify(record.getTypeDataAccess().getDataAccess(), record.getSchema().getName(), record.getOrdinal()); }
@Override public void stringify(Writer writer, HollowRecord record) throws IOException { stringify(writer, record.getTypeDataAccess().getDataAccess(), record.getSchema().getName(), record.getOrdinal()); }
toFieldPathIndexes[i] = matchHint.getFieldPathIndex(to.getDataAccess().getDataAccess(), i); fromFieldPathIndexes[i] = matchHint.getFieldPathIndex(from.getDataAccess().getDataAccess(), i);
HollowObjectTypeDataAccess objectAccess = (HollowObjectTypeDataAccess)typeDataAccess; int fieldIdx = objectAccess.getSchema().getPosition(fieldIdentifier.getParents().get(level+1).getViaFieldName()); childDataAccess = typeDataAccess.getDataAccess().getTypeDataAccess(objectAccess.getSchema().getReferencedType(fieldIdx)); for(int i=0;i<ordinals.size();i++) childOrdinals.add(objectAccess.readOrdinal(ordinals.get(i), fieldIdx)); } else if(typeDataAccess instanceof HollowCollectionTypeDataAccess) { HollowCollectionTypeDataAccess collectionAccess = (HollowCollectionTypeDataAccess)typeDataAccess; childDataAccess = typeDataAccess.getDataAccess().getTypeDataAccess(collectionAccess.getSchema().getElementType()); for(int i=0;i<ordinals.size();i++) { HollowOrdinalIterator iter = collectionAccess.ordinalIterator(ordinals.get(i)); boolean isValue = fieldIdentifier.getParents().get(level + 1).getViaFieldName().equals("value"); String childType = isValue ? mapAccess.getSchema().getValueType() : mapAccess.getSchema().getKeyType(); childDataAccess = typeDataAccess.getDataAccess().getTypeDataAccess(childType); for(int i=0;i<ordinals.size();i++) { HollowMapEntryOrdinalIterator iter = mapAccess.ordinalIterator(ordinals.get(i));