public class AssociationsListBuilder extends Object implements CategoryListBuilder
AssociationsListBuilder
which encodes category-association value pairs.
Every category-association pair is written under the respective association's
CategoryAssociation.getCategoryListID()
.
NOTE: associations list do not encode the counting list data. You
should use CountingListBuilder
to build that information and then
merge the results of both build(IntsRef, Iterable)
.
Constructor and Description |
---|
AssociationsListBuilder(CategoryAssociationsContainer associations) |
public AssociationsListBuilder(CategoryAssociationsContainer associations)
public Map<String,BytesRef> build(IntsRef ordinals, Iterable<CategoryPath> categories) throws IOException
CategoryListBuilder
build
in interface CategoryListBuilder
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.