Class MultiAccessBuilder
- java.lang.Object
-
- cz.o2.proxima.direct.core.randomaccess.MultiAccessBuilder
-
- All Implemented Interfaces:
java.io.Serializable
@Stable public class MultiAccessBuilder extends java.lang.Object implements java.io.Serializable
A builder forRandomAccessReader
reading from multiple attribute families.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultiAccessBuilder
addAttributes(RandomAccessReader reader, AttributeDescriptor<?>... attrs)
Add specified attributes to be read with given reader.MultiAccessBuilder
addFamily(AttributeFamilyDescriptor family)
Add specified family to be read with given reader.RandomAccessReader
build()
CreateRandomAccessReader
for attributes and/or families specified in this builder.
-
-
-
Method Detail
-
addAttributes
public MultiAccessBuilder addAttributes(RandomAccessReader reader, AttributeDescriptor<?>... attrs)
Add specified attributes to be read with given reader.- Parameters:
reader
- the reader to use to read attributesattrs
- the attributes to read with specified reader- Returns:
- this
-
addFamily
public MultiAccessBuilder addFamily(AttributeFamilyDescriptor family)
Add specified family to be read with given reader.- Parameters:
family
- family to access with the built reader- Returns:
- this
-
build
public RandomAccessReader build()
CreateRandomAccessReader
for attributes and/or families specified in this builder.- Returns:
RandomAccessReader
capable of reading from multiple attribute families.
-
-