public class HollowCombinerExcludeOrdinalsCopyDirector extends java.lang.Object implements HollowCombinerCopyDirector
HollowCombinerCopyDirector
which specifies the ordinals to include in the
copy operation for a single state engine.DEFAULT_DIRECTOR
Constructor and Description |
---|
HollowCombinerExcludeOrdinalsCopyDirector(java.util.Map<java.lang.String,java.util.BitSet> excludedOrdinals) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldCopy(HollowTypeReadState typeState,
int ordinal) |
public HollowCombinerExcludeOrdinalsCopyDirector(java.util.Map<java.lang.String,java.util.BitSet> excludedOrdinals)
public boolean shouldCopy(HollowTypeReadState typeState, int ordinal)
shouldCopy
in interface HollowCombinerCopyDirector
typeState
- the read stateordinal
- the ordinal to copyHollowTypeReadState
in the output.
If this method returns false, then the copier will not attempt to directly copy the matching record. However, if
the matching record is referenced via another record for which this method returns true, then it will still be copied.