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.