List<LinkDatum> anchors = new ArrayList<LinkDatum>();
FieldsWritable basicFields = null;
// aggregate inlinks assign basic fields
while (values.hasNext()) {
ObjectWritable objWrite = values.next();
Object obj = objWrite.get();
if (obj instanceof LinkDatum) {
anchors.add((LinkDatum)obj);
}
else if (obj instanceof FieldsWritable) {
basicFields = (FieldsWritable)obj;