Examples of indexName()


Examples of org.formulacompiler.compiler.internal.expressions.ExpressionNodeForFoldDefinition.indexName()

      for (int i = 0; i < fold.accuCount(); i++)
        letInnerDef( fold.accuName( i ) );
      for (int i = 0; i < fold.eltCount(); i++)
        letInnerDef( fold.eltName( i ) );
      letInnerDef( fold.indexName() );

      for (int i = 0; i < fold.accuCount(); i++)
        addToClosure( _closure, fold.accuStep( i ) );

      unletInnerDef( fold.indexName() );
View Full Code Here

Examples of org.formulacompiler.compiler.internal.expressions.ExpressionNodeForFoldDefinition.indexName()

      letInnerDef( fold.indexName() );

      for (int i = 0; i < fold.accuCount(); i++)
        addToClosure( _closure, fold.accuStep( i ) );

      unletInnerDef( fold.indexName() );
      letDict().unlet( fold.eltCount() );
      letInnerDef( fold.countName() );

      addToClosure( _closure, fold.merge() );
View Full Code Here

Examples of org.springframework.data.elasticsearch.annotations.Document.indexName()

    this.parser = new SpelExpressionParser();

    Class<T> clazz = typeInformation.getType();
    if (clazz.isAnnotationPresent(Document.class)) {
      Document document = clazz.getAnnotation(Document.class);
      Assert.hasText(document.indexName(),
          " Unknown indexName. Make sure the indexName is defined. e.g @Document(indexName=\"foo\")");
      this.indexName = typeInformation.getType().getAnnotation(Document.class).indexName();
      this.indexType = hasText(document.type()) ? document.type() : clazz.getSimpleName().toLowerCase(Locale.ENGLISH);
      this.shards = typeInformation.getType().getAnnotation(Document.class).shards();
      this.replicas = typeInformation.getType().getAnnotation(Document.class).replicas();
View Full Code Here

Examples of org.springframework.data.elasticsearch.annotations.Document.indexName()

        super(typeInformation);
        this.context = new StandardEvaluationContext();
        Class<T> clazz = typeInformation.getType();
        if(clazz.isAnnotationPresent(Document.class)){
            Document document = clazz.getAnnotation(Document.class);
            Assert.hasText(document.indexName(), " Unknown indexName. Make sure the indexName is defined. e.g @Document(indexName=\"foo\")");
            this.indexName = typeInformation.getType().getAnnotation(Document.class).indexName();
            this.indexType = hasText(document.type())? document.type() : clazz.getSimpleName().toLowerCase(Locale.ENGLISH);
        }
    }
View Full Code Here

Examples of org.springframework.data.neo4j.annotation.Indexed.indexName()

        }

        private Index<S> getIndex(Neo4JPersistentProperty property, GraphBacked instance) {
            final Indexed indexedAnnotation = property.getAnnotation(Indexed.class);
            final Class<T> type = (Class<T>) property.getOwner().getType();
            final String providedIndexName = indexedAnnotation.indexName().isEmpty() ? null : indexedAnnotation.indexName();
            String indexName = Indexed.Name.get(indexedAnnotation.level(), type, providedIndexName, instance.getClass());
            if (!property.getIndexInfo().isFulltext()) {
                return graphDatabaseContext.getIndex(type, indexName, false);
            }
            if (providedIndexName == null) throw new IllegalStateException("@Indexed(fullext=true) on "+property+" requires an providedIndexName too ");
View Full Code Here

Examples of org.springframework.data.neo4j.annotation.Indexed.indexName()

        }

        private Index<S> getIndex(Neo4JPersistentProperty property, GraphBacked instance) {
            final Indexed indexedAnnotation = property.getAnnotation(Indexed.class);
            final Class<T> type = (Class<T>) property.getOwner().getType();
            final String providedIndexName = indexedAnnotation.indexName().isEmpty() ? null : indexedAnnotation.indexName();
            String indexName = Indexed.Name.get(indexedAnnotation.level(), type, providedIndexName, instance.getClass());
            if (!property.getIndexInfo().isFulltext()) {
                return graphDatabaseContext.getIndex(type, indexName, false);
            }
            if (providedIndexName == null) throw new IllegalStateException("@Indexed(fullext=true) on "+property+" requires an providedIndexName too ");
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.