本文整理汇总了Java中org.apache.olingo.server.api.uri.UriResourceLambdaVariable类的典型用法代码示例。如果您正苦于以下问题:Java UriResourceLambdaVariable类的具体用法?Java UriResourceLambdaVariable怎么用?Java UriResourceLambdaVariable使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
UriResourceLambdaVariable类属于org.apache.olingo.server.api.uri包,在下文中一共展示了UriResourceLambdaVariable类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: handle
import org.apache.olingo.server.api.uri.UriResourceLambdaVariable; //导入依赖的package包/类
/**
* Processes raw olingo expression member.
*
* @param collectionResourceCache
* cache with parent members collection resources. Used for
* nested lambdas
* @return expression member
* @throws ODataApplicationException
* OData app exception
* @throws ExpressionVisitException
* expression visitor exception
*/
public ExpressionMember handle(Map<String, UriResource> collectionResourceCache)
throws ODataApplicationException, ExpressionVisitException {
this.collectionResourceCache = collectionResourceCache;
if (lastPart instanceof UriResourceLambdaAll) {
return throwNotImplemented("All lambda is not implemented");
} else if (lastPart instanceof UriResourceLambdaAny) {
return handleLambdaAny();
} else if (lastPart instanceof UriResourcePrimitiveProperty
|| lastPart instanceof UriResourceLambdaVariable) {
return handlePrimitive();
} else {
return throwNotImplemented();
}
}
示例2: visit
import org.apache.olingo.server.api.uri.UriResourceLambdaVariable; //导入依赖的package包/类
@Override
public void visit(UriResourceLambdaVariable info) {
}
示例3: visit
import org.apache.olingo.server.api.uri.UriResourceLambdaVariable; //导入依赖的package包/类
@Override
public void visit(UriResourceLambdaVariable resource) {
throw new IllegalArgumentException("not supported"); //$NON-NLS-1$
}
示例4: visit
import org.apache.olingo.server.api.uri.UriResourceLambdaVariable; //导入依赖的package包/类
void visit(UriResourceLambdaVariable info);