com.browseengine.bobo.protobuf
Class BrowseProtobufConverter
java.lang.Object
com.browseengine.bobo.protobuf.BrowseProtobufConverter
public class BrowseProtobufConverter
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrowseProtobufConverter
public BrowseProtobufConverter()
convert
public static BrowseHit convert(BrowseResultBPO.Hit hit)
convert
public static BrowseResult convert(BrowseResultBPO.Result result)
convert
public static BrowseRequest convert(BrowseRequestBPO.Request req,
org.apache.lucene.queryParser.QueryParser qparser)
throws com.google.protobuf.TextFormat.ParseException
- Throws:
com.google.protobuf.TextFormat.ParseException
convert
public static BrowseRequestBPO.Selection convert(BrowseSelection sel)
convert
public static BrowseRequestBPO.Request convert(BrowseRequest req)
convert
public static BrowseResultBPO.Hit convert(BrowseHit hit)
convert
public static BrowseResultBPO.FacetContainer convert(String name,
FacetAccessible facetAccessible)
convert
public static BrowseResultBPO.Result convert(BrowseResult res)
toProtoBufString
public static String toProtoBufString(BrowseRequest req)
fromProtoBufString
public static BrowseRequest fromProtoBufString(String str,
org.apache.lucene.queryParser.QueryParser qparser)
throws com.google.protobuf.TextFormat.ParseException
- Throws:
com.google.protobuf.TextFormat.ParseException
Copyright © 2011. All Rights Reserved.