예제 #1
0
  /** @param frozen the frozen to set */
  public void freeze() {
    this.frozen = true;

    if (this.fieldTypeLocal) this.fieldType.freeze();

    this.indexed = (fieldType.indexOptions() == IndexOptions.NONE ? false : true);
  }
예제 #2
0
 public void setType(IndexedFieldType type) {
   this.fieldType = type;
   this.javaType = type.javaType();
 }
예제 #3
0
 /** @return the stored */
 public boolean stored() {
   return fieldType.stored();
 }
예제 #4
0
 public NumericType getNumericType() {
   return fieldType.numericType();
 }