FacetRange 类
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
FacetRange
类表示包含开始值但不包含结束值的数值范围。
FacetRange
在模块 google.appengine.api.search
中定义。
构造函数
FacetRange
类的构造函数定义如下:
class FacetRange(start=None, end=None)
构造类 FacetRefinement
的实例。
参数
- start
- 设置 start 属性
- end
- 设置 end 属性
结果值
FacetRange
类的新实例。
异常
- TypeError
任意参数的类型无效或者传递了未知属性时返回此错误。
- ValueError
任意参数的赋值无效时返回此错误。
属性
FacetRange
类的实例具有以下属性:
- start
范围的开始值(含)。
- end
范围的结束值(不含)。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-06。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]