org.tinygroup.fulltext.field.BigDecimalField Maven / Gradle / Ivy
The newest version!
package org.tinygroup.fulltext.field;
import java.math.BigDecimal;
public class BigDecimalField extends AbstractField implements StoreField{
public BigDecimalField(String name, BigDecimal value) {
this(name, value,true,true,false);
}
public BigDecimalField(String name, BigDecimal value,boolean indexed,boolean stored,boolean tokenized) {
super(name, value);
this.setIndexed(indexed);
this.setStored(stored);
this.setTokenized(tokenized);
}
public FieldType getType() {
return FieldType.BIGDECIMAL;
}
public String toString() {
return "BigDecimalField [name=" + getName() + ", value="
+ getValue() + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy