final Collection<Bindings> coll = PagedCollection.readAndCreateLuposObject(in);
return new LeafNodeInPartitionTree(new QueryResult(coll));
default:
case 2:
final PagedCollection<NodeInPartitionTree> pcoll = PagedCollection.readAndCreateLuposObject(in);
return new InnerNodeInPartitionTree(pcoll);
}
}