| Package | Description |
|---|---|
| net.gdface.sdk | |
| net.gdface.sdk.fse | |
| net.gdface.sdk.fse.decorator | |
| net.gdface.sdk.fse.thrift | |
| net.gdface.service.sdk.spring |
| Modifier and Type | Method and Description |
|---|---|
FeatureSe |
BaseFaceApiLocal.getFeatureSe()
返回当前
FaceApi接口实例对应的搜索引擎接口实例,如果没有则返回null |
static FeatureSe |
BaseFaceApi.getFeatureSeInstance(FaceApi faceapi)
|
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseFeatureSearchEngine.FeatureSeImpl
|
class |
BaseFeatureSeImpl |
class |
FeatureSeDecorator
decorator pattern 装饰者模式实现
FeatureSe接口转发所有 FeatureSe接口方法到FeatureSeDecorator.delegate()指定的实例,unchecked后缀的方法将所有显式申明的异常封装到 RuntimeException抛出计算机生成代码(generated by automated tools DecoratorGenerator @author guyadong) |
class |
FeatureSeDefaultImpl |
class |
FeatureSeGenericDecorator
decorator pattern 装饰者模式实现基于
FeatureSeDecorator的支持泛型方法参数FeatureSe接口所有 byte[] 类型的参数都支持泛型参数,参见 BinaryUtils.getBytesNotEmpty(Object)注意: 参数为 InputStream的方法返回时会自动执行InputStream.close()关闭流参见 BinaryUtils.readBytes(java.io.InputStream)unchecked后缀的方法将所有显式申明的异常封装到 RuntimeException抛出计算机生成代码(generated by automated tools DecoratorGenerator @author guyadong) |
| Modifier and Type | Method and Description |
|---|---|
protected FeatureSe |
FeatureSeSpringController.delegate() |
FeatureSe |
FeatureSeDecorator.delegate() |
FeatureSe |
FeatureSeSpringController.InstanceSupplier.instanceOfFeatureSe() |
| Modifier and Type | Method and Description |
|---|---|
static FeatureSeDecorator |
FeatureSeDecorator.makeDecorator(FeatureSe instance)
将
FeatureSe 对象封装为 FeatureSeDecorator 实例如果 FeatureSe 已经是 FeatureSeDecorator 则返回 FeatureSe} |
| Constructor and Description |
|---|
BaseFseDbEngine(FeatureSe fse) |
FeatureSeDecorator(FeatureSe delegate) |
FeatureSeGenericDecorator(FeatureSe delegate) |
| Modifier and Type | Method and Description |
|---|---|
FeatureSe |
FeatureSeThriftDecorator.delegate() |
| Constructor and Description |
|---|
FeatureSeThriftDecorator(FeatureSe delegate) |
| Modifier and Type | Class and Description |
|---|---|
class |
FeatureSeThriftClient
基于thrift/swift框架生成的client端代码提供
FeatureSe接口的RPC实现(线程安全)转发所有 FeatureSe接口方法到FeatureSeThriftClient.delegate()指定的实例所有服务端抛出的 RuntimeException异常被封装到ServiceRuntimeException中抛出Example: |
| Modifier and Type | Method and Description |
|---|---|
static void |
RestfulService.setInterfaceInstance(FeatureSe apiInstance)
设置
FaceApi实例 |
Copyright © 2020. All rights reserved.