Examples of IntField


Examples of org.apache.lucene.document.IntField

    List<Field> fields = Arrays.asList(
        new Field("bytes", bytes, ft),
        new Field("string", string, ft),
        new LongField("long", l, Store.YES),
        new IntField("int", i, Store.YES),
        new FloatField("float", f, Store.YES),
        new DoubleField("double", d, Store.YES)
    );

    for (int k = 0; k < 100; ++k) {
View Full Code Here

Examples of org.apache.lucene.document.IntField

    iwConf.setMergePolicy(newLogMergePolicy(false));
    iw.close();
    iw = new RandomIndexWriter(random(), dir, iwConf);

    final Document validDoc = new Document();
    validDoc.add(new IntField("id", 0, Store.YES));
    iw.addDocument(validDoc);
    iw.commit();
   
    // make sure that #writeField will fail to trigger an abort
    final Document invalidDoc = new Document();
View Full Code Here

Examples of org.byteliberi.easydriver.fields.IntField

   * Appends a {@link java.lang.Integer} parameter to the internal prepared statement.
   * @param value Value to be passed to the Prepared Statement after the other previously added values.
   * @throws SQLException A problem occurred with the database.
   */
  public synchronized void addParameter(final Integer value) throws SQLException {
    final IntField field = IntField.getEmpty();
    this.parameterManagerList.add(field);
   
    field.map(pstm, this.paramIndex.addAndGet(1), value);
  }
View Full Code Here

Examples of org.molgenis.fieldtypes.IntField

      addType(new LongField());
      addType(new MrefField());
      addType(new StringField());
      addType(new TextField());
      addType(new XrefField());
      addType(new IntField());
      addType(new RichtextField());
      addType(new FreemarkerField());

      init = true;
    }
View Full Code Here

Examples of sun.jvm.hotspot.oops.IntField

        return field.getValue(klass);
    }

    public static int getStaticIntFieldValue(String className, String fieldName) {
        InstanceKlass klass = SystemDictionaryHelper.findInstanceKlass(className);
        IntField field = (IntField) klass.findField(fieldName, "I");
        return field.getValue(klass);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.