@ThriftService(value="FeatureSe") public static interface FeatureSe.Async
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<java.lang.Boolean> |
addFeatureToFse(byte[] featureId,
byte[] feature,
java.lang.String imgMD5) |
com.google.common.util.concurrent.ListenableFuture<java.lang.Boolean> |
addFeatureToFseWithAppId(byte[] featureId,
byte[] feature,
long appid) |
com.google.common.util.concurrent.ListenableFuture<java.lang.Void> |
clearAllOfFse() |
com.google.common.util.concurrent.ListenableFuture<CodeBean> |
getFeatureByHexFromFse(java.lang.String featureId) |
com.google.common.util.concurrent.ListenableFuture<CodeBean> |
getFeatureFromFse(byte[] featureId) |
com.google.common.util.concurrent.ListenableFuture<java.lang.Boolean> |
removeFeatureByHexFromFse(java.lang.String featureId) |
com.google.common.util.concurrent.ListenableFuture<java.lang.Boolean> |
removeFeatureFromFse(byte[] featureId) |
com.google.common.util.concurrent.ListenableFuture<java.util.List<CodeBean>> |
searchCodeFromFse(byte[] code,
double sim,
int rows) |
com.google.common.util.concurrent.ListenableFuture<java.lang.Integer> |
sizeOfFse() |
@ThriftMethod(value="addFeatureToFse", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) com.google.common.util.concurrent.ListenableFuture<java.lang.Boolean> addFeatureToFse(@ThriftField(value=1,name="featureId",requiredness=OPTIONAL) byte[] featureId, @ThriftField(value=2,name="feature",requiredness=OPTIONAL) byte[] feature, @ThriftField(value=3,name="imgMD5",requiredness=OPTIONAL) java.lang.String imgMD5)
@ThriftMethod(value="addFeatureToFseWithAppId", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) com.google.common.util.concurrent.ListenableFuture<java.lang.Boolean> addFeatureToFseWithAppId(@ThriftField(value=1,name="featureId",requiredness=OPTIONAL) byte[] featureId, @ThriftField(value=2,name="feature",requiredness=OPTIONAL) byte[] feature, @ThriftField(value=3,name="appid",requiredness=REQUIRED) long appid)
@ThriftMethod(value="clearAllOfFse", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) com.google.common.util.concurrent.ListenableFuture<java.lang.Void> clearAllOfFse()
@ThriftMethod(value="getFeatureByHexFromFse", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) com.google.common.util.concurrent.ListenableFuture<CodeBean> getFeatureByHexFromFse(@ThriftField(value=1,name="featureId",requiredness=OPTIONAL) java.lang.String featureId)
@ThriftMethod(value="getFeatureFromFse", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) com.google.common.util.concurrent.ListenableFuture<CodeBean> getFeatureFromFse(@ThriftField(value=1,name="featureId",requiredness=OPTIONAL) byte[] featureId)
@ThriftMethod(value="removeFeatureByHexFromFse", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) com.google.common.util.concurrent.ListenableFuture<java.lang.Boolean> removeFeatureByHexFromFse(@ThriftField(value=1,name="featureId",requiredness=OPTIONAL) java.lang.String featureId)
@ThriftMethod(value="removeFeatureFromFse", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) com.google.common.util.concurrent.ListenableFuture<java.lang.Boolean> removeFeatureFromFse(@ThriftField(value=1,name="featureId",requiredness=OPTIONAL) byte[] featureId)
@ThriftMethod(value="searchCodeFromFse", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) com.google.common.util.concurrent.ListenableFuture<java.util.List<CodeBean>> searchCodeFromFse(@ThriftField(value=1,name="code",requiredness=OPTIONAL) byte[] code, @ThriftField(value=2,name="sim",requiredness=REQUIRED) double sim, @ThriftField(value=3,name="rows",requiredness=REQUIRED) int rows)
@ThriftMethod(value="sizeOfFse", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) com.google.common.util.concurrent.ListenableFuture<java.lang.Integer> sizeOfFse()
Copyright © 2020. All rights reserved.