Examples of ReferenceInfo


Examples of io.crate.metadata.ReferenceInfo

    public DynamicReference(ReferenceInfo info) {
        this.info = info;
    }

    public DynamicReference(ReferenceIdent ident, RowGranularity rowGranularity) {
        this.info = new ReferenceInfo(ident, rowGranularity, UndefinedType.INSTANCE);
    }
View Full Code Here

Examples of io.crate.metadata.ReferenceInfo

        this.info = new ReferenceInfo(ident, rowGranularity, UndefinedType.INSTANCE);
    }

    public void valueType(DataType dataType) {
        assert this.info != null;
        this.info = new ReferenceInfo(info.ident(), info.granularity(), dataType,
                info.columnPolicy(), info.indexType());
    }
View Full Code Here

Examples of org.eclipse.dltk.core.index2.IIndexingRequestor.ReferenceInfo

        argsCount = args.getChilds().size();
      }

      modifyReference(
          call,
          new ReferenceInfo(IModelElement.METHOD, call.sourceStart(),
              call.sourceEnd() - call.sourceStart(), call
                  .getName(), Integer.toString(argsCount),
              null));
    }
View Full Code Here

Examples of org.eclipse.dltk.core.index2.IIndexingRequestor.ReferenceInfo

    // information in order to access it quickly:
    if (include.getExpr() instanceof Scalar) {
      Scalar filePath = (Scalar) include.getExpr();
      modifyReference(
          include,
          new ReferenceInfo(IModelElement.METHOD, filePath
              .sourceStart(), filePath.sourceEnd()
              - filePath.sourceStart(), "include", Integer //$NON-NLS-1$
              .toString(1), null));

      String fullPath = ASTUtils.stripQuotes(((Scalar) filePath)
View Full Code Here

Examples of org.eclipse.dltk.core.index2.IIndexingRequestor.ReferenceInfo

    return visitGeneral(s);
  }

  public boolean visit(TypeReference reference) throws Exception {
    modifyReference(reference,
        new ReferenceInfo(IModelElement.TYPE, reference.sourceStart(),
            reference.sourceEnd() - reference.sourceStart(),
            reference.getName(), null, null));
    return visitGeneral(reference);
  }
View Full Code Here

Examples of org.eclipse.dltk.core.index2.IIndexingRequestor.ReferenceInfo

      String name = simpleReference.getName();
      if (!name.startsWith(DOLOR)) {
        name = DOLOR + name;
      }
      modifyReference(access, new ReferenceInfo(IModelElement.FIELD,
          simpleReference.sourceStart(), simpleReference.sourceEnd()
              - simpleReference.sourceStart(), name, null, null));
    }

    return visitGeneral(access);
View Full Code Here

Examples of org.eclipse.dltk.core.index2.IIndexingRequestor.ReferenceInfo

      final ConstantReference constantReference = access.getConstant();
      final String name = constantReference.getName();

      modifyReference(
          access,
          new ReferenceInfo(IModelElement.FIELD, constantReference
              .sourceStart(), constantReference.sourceEnd()
              - constantReference.sourceStart(), name, null, null));
    }

    return visitGeneral(access);
View Full Code Here

Examples of org.jboss.messaging.core.contract.PersistenceManager.ReferenceInfo

      int unreliableNumber = 0;

      Iterator iter = refInfos.iterator();
      while (iter.hasNext())
      {
         ReferenceInfo info = (ReferenceInfo)iter.next();
        
         MessageReference ref = addFromRefInfo(info, refMap);
        
         if (recoverable && ref.getMessage().isReliable())
         {
View Full Code Here

Examples of org.jboss.messaging.core.contract.PersistenceManager.ReferenceInfo

      Map refMap = processReferences(ili.getRefInfos());
     
      Iterator iter = ili.getRefInfos().iterator();
      while (iter.hasNext())
      {
         ReferenceInfo info = (ReferenceInfo)iter.next();
        
         MessageReference added = addFromRefInfo(info, refMap);
      }
   }
View Full Code Here

Examples of org.jboss.messaging.core.contract.PersistenceManager.ReferenceInfo

      Iterator iter = refInfos.iterator();

      // Put the refs that we already have messages for in a map
      while (iter.hasNext())
      {
         ReferenceInfo info = (ReferenceInfo) iter.next();

         long msgId = info.getMessageId();

         MessageReference ref = ms.reference(msgId);

         if (ref != null)
         {
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.