@ThriftService(value="FeatureSe") public interface FeatureSe
Modifier and Type | Interface and Description |
---|---|
static interface |
FeatureSe.Async |
Modifier and Type | Method and Description |
---|---|
boolean |
addFeatureToFse(byte[] featureId,
byte[] feature,
java.lang.String imgMD5) |
boolean |
addFeatureToFseWithAppId(byte[] featureId,
byte[] feature,
long appid) |
void |
clearAllOfFse() |
CodeBean |
getFeatureByHexFromFse(java.lang.String featureId) |
CodeBean |
getFeatureFromFse(byte[] featureId) |
boolean |
removeFeatureByHexFromFse(java.lang.String featureId) |
boolean |
removeFeatureFromFse(byte[] featureId) |
java.util.List<CodeBean> |
searchCodeFromFse(byte[] code,
double sim,
int rows) |
int |
sizeOfFse() |
@ThriftMethod(value="addFeatureToFse", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) 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) throws ServiceRuntimeException
ServiceRuntimeException
@ThriftMethod(value="addFeatureToFseWithAppId", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) 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) throws ServiceRuntimeException
ServiceRuntimeException
@ThriftMethod(value="clearAllOfFse", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) void clearAllOfFse() throws ServiceRuntimeException
ServiceRuntimeException
@ThriftMethod(value="getFeatureByHexFromFse", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) CodeBean getFeatureByHexFromFse(@ThriftField(value=1,name="featureId",requiredness=OPTIONAL) java.lang.String featureId) throws ServiceRuntimeException
ServiceRuntimeException
@ThriftMethod(value="getFeatureFromFse", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) CodeBean getFeatureFromFse(@ThriftField(value=1,name="featureId",requiredness=OPTIONAL) byte[] featureId) throws ServiceRuntimeException
ServiceRuntimeException
@ThriftMethod(value="removeFeatureByHexFromFse", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) boolean removeFeatureByHexFromFse(@ThriftField(value=1,name="featureId",requiredness=OPTIONAL) java.lang.String featureId) throws ServiceRuntimeException
ServiceRuntimeException
@ThriftMethod(value="removeFeatureFromFse", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) boolean removeFeatureFromFse(@ThriftField(value=1,name="featureId",requiredness=OPTIONAL) byte[] featureId) throws ServiceRuntimeException
ServiceRuntimeException
@ThriftMethod(value="searchCodeFromFse", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) 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) throws ServiceRuntimeException
ServiceRuntimeException
@ThriftMethod(value="sizeOfFse", exception=@ThriftException(type=ServiceRuntimeException.class,id=1)) int sizeOfFse() throws ServiceRuntimeException
ServiceRuntimeException
Copyright © 2020. All rights reserved.