X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=solr-4.5.1%2Fdocs%2Fsolr-core%2Forg%2Fapache%2Fsolr%2Fsearch%2Fgrouping%2Fdistributed%2Fshardresultserializer%2FTopGroupsResultTransformer.html;fp=solr-4.5.1%2Fdocs%2Fsolr-core%2Forg%2Fapache%2Fsolr%2Fsearch%2Fgrouping%2Fdistributed%2Fshardresultserializer%2FTopGroupsResultTransformer.html;h=31558c8364d44bb376fce3e73a05e6a8d1f14040;hb=c32180c2b6d718a5d112d79099e09c6c29df9530;hp=0000000000000000000000000000000000000000;hpb=612038bed340760e0940fa99d65929beec49f2fb;p=libre10%2Flibre10.git diff --git a/solr-4.5.1/docs/solr-core/org/apache/solr/search/grouping/distributed/shardresultserializer/TopGroupsResultTransformer.html b/solr-4.5.1/docs/solr-core/org/apache/solr/search/grouping/distributed/shardresultserializer/TopGroupsResultTransformer.html new file mode 100644 index 0000000..31558c8 --- /dev/null +++ b/solr-4.5.1/docs/solr-core/org/apache/solr/search/grouping/distributed/shardresultserializer/TopGroupsResultTransformer.html @@ -0,0 +1,351 @@ + + + +
+ + +org.apache.solr.search.grouping.distributed.shardresultserializer
+Constructor and Description | +
---|
TopGroupsResultTransformer(ResponseBuilder rb) |
+
Modifier and Type | +Method and Description | +
---|---|
protected NamedList |
+serializeTopDocs(QueryCommandResult result) |
+
protected NamedList |
+serializeTopGroups(TopGroups<BytesRef> data,
+ SchemaField groupField) |
+
NamedList |
+transform(List<Command> data)
+Transforms data to a
+NamedList structure for serialization purposes. |
+
Map<String,?> |
+transformToNative(NamedList<NamedList> shardResponse,
+ Sort groupSort,
+ Sort sortWithinGroup,
+ String shard)
+Transforms the specified shard response into native structures.
+ |
+
public TopGroupsResultTransformer(ResponseBuilder rb)+
public NamedList transform(List<Command> data) + throws IOException+
NamedList
structure for serialization purposes.transform
in interface ShardResultTransformer<List<Command>,Map<String,?>>
data
- The data to be transformedNamedList
structureIOException
- If I/O related errors occur during transformingpublic Map<String,?> transformToNative(NamedList<NamedList> shardResponse, + Sort groupSort, + Sort sortWithinGroup, + String shard)+
transformToNative
in interface ShardResultTransformer<List<Command>,Map<String,?>>
shardResponse
- The shard response containing data in a NamedList
structuregroupSort
- The group sortsortWithinGroup
- The sort inside a groupshard
- The shard address where the response originated fromprotected NamedList serializeTopGroups(TopGroups<BytesRef> data, + SchemaField groupField) + throws IOException+
IOException
protected NamedList serializeTopDocs(QueryCommandResult result) + throws IOException+
IOException
+ Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved. + + +
+ +