本文整理汇总了Java中org.hibernate.search.annotations.Store.YES属性的典型用法代码示例。如果您正苦于以下问题:Java Store.YES属性的具体用法?Java Store.YES怎么用?Java Store.YES使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.hibernate.search.annotations.Store
的用法示例。
在下文中一共展示了Store.YES属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getNames
@Type(type = "org.openyu.commons.entity.usertype.NamesEntityUserType")
@Column(name = "names", length = 2048)
@Field(store = Store.YES, index = Index.YES, analyze = Analyze.NO)
@FieldBridge(impl = NamesEntityBridge.class)
public Set<LocaleNameEntity> getNames() {
return names;
}
示例2: getModifyDate
/**
* 获取修改日期
*
* @return 修改日期
*/
@JsonProperty
@Field(store = Store.YES, index = Index.UN_TOKENIZED)
@DateBridge(resolution = Resolution.SECOND)
@Column(nullable = false)
public Date getModifyDate() {
return modifyDate;
}
示例3: getTitle
/**
* 获取标题
*
* @return 标题
*/
@Field(store = Store.YES, index = Index.TOKENIZED, analyzer = @Analyzer(impl = IKAnalyzer.class))
@NotEmpty
@Length(max = 200)
@Column(nullable = false)
public String getTitle() {
return title;
}
示例4: getIsTop
/**
* 获取是否置顶
*
* @return 是否置顶
*/
@Field(store = Store.YES, index = Index.UN_TOKENIZED)
@NotNull
@Column(nullable = false)
public Boolean getIsTop() {
return isTop;
}
示例5: getOrder
/**
* 获取排序
*
* @return 排序
*/
@JsonProperty
@Field(store = Store.YES, index = Index.UN_TOKENIZED)
@Min(0)
@Column(name = "orders")
public Integer getOrder() {
return order;
}
示例6: getSn
/**
* 获取编号
*
* @return 编号
*/
@JsonProperty
@Field(store = Store.YES, index = Index.UN_TOKENIZED)
@Pattern(regexp = "[\\s\\S]*")
@Length(max = 100)
@Column(nullable = false, unique = true, length = 100)
public String getSn() {
return sn;
}
示例7: getFullName
/**
* 获取全称
*
* @return 全称
*/
@JsonProperty
@Field(store = Store.YES, index = Index.NO)
@Column(nullable = false)
public String getFullName() {
return fullName;
}
示例8: getScore
/**
* 获取评分
*
* @return 评分
*/
@Field(store = Store.YES, index = Index.UN_TOKENIZED)
@NumericField
@Column(nullable = false, precision = 12, scale = 6)
public Float getScore() {
return score;
}
示例9: getImage
/**
* 获取展示图片
*
* @return 展示图片
*/
@JsonProperty
@Field(store = Store.YES, index = Index.NO)
@Length(max = 200)
public String getImage() {
return image;
}
示例10: getIsGift
/**
* 获取是否为赠品
*
* @return 是否为赠品
*/
@JsonProperty
@Field(store = Store.YES, index = Index.UN_TOKENIZED)
@NotNull
@Column(nullable = false)
public Boolean getIsGift() {
return isGift;
}
示例11: getPoint
/**
* 获取赠送积分
*
* @return 赠送积分
*/
@Field(store = Store.YES, index = Index.NO)
@Min(0)
@Column(nullable = false)
public Long getPoint() {
return point;
}
示例12: getLocale
@XmlJavaTypeAdapter(LocaleXmlAdapter.class)
@Column(name = "locale", length = 20)
@Field(store = Store.YES, index = Index.YES, analyze = Analyze.NO)
@FieldBridge(impl = LocaleStringBridge.class)
public Locale getLocale()
{
return locale.getLocale();
}
示例13: getAudit
@Type(type = "org.openyu.commons.entity.usertype.AuditEntityUserType")
@Column(name = "audit", length = 570)
@Field(store = Store.YES, index = Index.YES, analyze = Analyze.NO)
@FieldBridge(impl = AuditEntityBridge.class)
public AuditEntity getAudit() {
return audit;
}
示例14: getNames
@Type(type = "org.openyu.commons.entity.usertype.NamesEntityUserType")
@Column(name = "names", length = 2048)
@Field(store = Store.YES, index = Index.YES, analyze = Analyze.NO)
@FieldBridge(impl = NamesEntityBridge.class)
public Set<LocaleNameEntity> getNames()
{
return names.getNames();
}
示例15: getAudit
@Type(type = "org.openyu.commons.entity.usertype.AuditEntityUserType")
@Column(name = "audit", length = 570)
@Field(store = Store.YES, index = Index.YES, analyze = Analyze.NO)
@FieldBridge(impl = AuditEntityBridge.class)
public AuditEntity getAudit()
{
return audit;
}