Class NoOpReplicaListTransformer
- java.lang.Object
-
- org.apache.solr.client.solrj.routing.NoOpReplicaListTransformer
-
- All Implemented Interfaces:
ReplicaListTransformer
public final class NoOpReplicaListTransformer extends Object implements ReplicaListTransformer
-
-
Field Summary
Fields Modifier and Type Field Description static ReplicaListTransformerINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> voidtransform(List<T> choices)Transforms the passed in list of choices.
-
-
-
Field Detail
-
INSTANCE
public static final ReplicaListTransformer INSTANCE
-
-
Method Detail
-
transform
public <T> void transform(List<T> choices)
Description copied from interface:ReplicaListTransformerTransforms the passed in list of choices. Transformations can include (but are not limited to) reordering of elements (e.g. via shuffling) and removal of elements (i.e. filtering).- Specified by:
transformin interfaceReplicaListTransformer- Parameters:
choices- - a list of choices to transform, typically the choices areReplicaobjects but choices can also beStringobjects such as URLs passed in via theShardParams.SHARDSparameter.
-
-