Examples of Name


Examples of com.datastax.driver.core.DataType.Name

        }

    }

    public static DataType.Name toCQLType(Class<?> javaType) {
        Name name = java2CQL.get(javaType);

        // Custom object will be JSON serialized
        if (name == null) {
            name = TEXT;
        }
View Full Code Here

Examples of com.dianping.cat.consumer.cross.model.entity.Name

      type = new Type();
      type.setId(info.getDetailType());
      remote.setType(type);
    }

    Name name = type.findOrCreateName(transactionName);

    type.incTotalCount();
    name.incTotalCount();

    if (!t.isSuccess()) {
      type.incFailCount();
      name.incFailCount();
    }

    double duration = t.getDurationInMicros() / 1000d;
    name.setSum(name.getSum() + duration);
    type.setSum(type.getSum() + duration);
  }
View Full Code Here

Examples of com.dotcms.repackage.org.xbill.DNS.Name

public class DNSUtil {
  public static String reverseDns(String hostIp) throws IOException {
    Record opt = null;
    Resolver res = new ExtendedResolver();
    res.setTimeout(10);
    Name name = ReverseMap.fromAddress(hostIp);
    int type = Type.PTR;
    int dclass = DClass.IN;
    Record rec = Record.newRecord(name, type, dclass);
    Message query = Message.newQuery(rec);
    Message response = res.send(query);
View Full Code Here

Examples of com.dream.domain.resume.Name

    public BasicInfoDTO() {
    }

    public BasicInfoDTO(BasicInfo basicInfo) {
        Name name = basicInfo.name();
        this.englishName = name.englishName();
        this.chineseName = name.chineseName();
        this.birthday = basicInfo.birthday().toString();
        this.phone = basicInfo.phone();
        this.email = basicInfo.email();
        this.qq = basicInfo.qq();
        this.gender = basicInfo.gender();
View Full Code Here

Examples of com.edugility.nomen.Name

    this.named = named;
  }

  @Override
  public final Name getName(final NameType nameType) {
    final Name returnValue;
    if (nameType != null && this.named != null) {
      returnValue = this.named.getName(nameType);
    } else {
      returnValue = null;
    }
View Full Code Here

Examples of com.espertech.esper.client.annotation.Name

        // find name annotation
        if (optStatementName == null) {
            if (annotations != null && annotations.length != 0) {
                for (Annotation annotation : annotations) {
                    if (annotation instanceof Name) {
                        Name name = (Name) annotation;
                        if (name.value() != null) {
                            optStatementName = name.value();
                        }
                    }
                }
            }
        }
View Full Code Here

Examples of com.extentech.formats.XLS.Name

      WorkBook b = this.getParentRec().getSheet().getWorkBook();
      // the externsheet reference is negative, there seems to be a problem
      // off the docs.  Just use a placeholder boundsheet, as the PtgRef3D internally will
      // get the value correctly
    //Externsheet x = b.getExternSheet();
      Name n = null;
     
      try{
          n = b.getName(ilbl);
        n.setSheet(this.getParentRec().getSheet());
      }catch(Exception e) {
          ; // it's an AddInFormula... -jm
      }
      //Boundsheet[] bound = x.getBoundSheets(ixti);
    return n;       
View Full Code Here

Examples of com.facebook.presto.jdbc.internal.jetty.util.annotation.Name

                   {
                       for ( Annotation annotation : annotations)
                       {
                           if ( annotation instanceof Name )
                           {
                               Name param = (Name)annotation;
                              
                               if (namedArgMap.containsKey(param.value()))
                               {
                                   LOG.debug("placing named {} in position {}", param.value(), count);
                                   swizzled[count] = namedArgMap.get(param.value());
                               }
                               else
                               {
                                   LOG.debug("placing {} in position {}", arguments[count], count);
                                   swizzled[count] = arguments[count];
View Full Code Here

Examples of com.fasterxml.jackson.core.sym.Name

            return JsonToken.FIELD_NAME;
        case 2: // short ASCII
      {
          int len = 1 + (ch & 0x3f);
          String name;
          Name n = _findDecodedFromSymbols(len);
          if (n != null) {
              name = n.getName();
              _inputPtr += len;
          } else {
              name = _decodeShortAsciiName(len);
              name = _addDecodedToSymbols(len, name);
          }
                if (_seenNames != null) {
                   if (_seenNameCount >= _seenNames.length) {
                    _seenNames = _expandSeenNames(_seenNames);
                   }
                   _seenNames[_seenNameCount++] = name;
                }
                _parsingContext.setCurrentName(name);
      }
      return JsonToken.FIELD_NAME;               
        case 3: // short Unicode
            // all valid, except for 0xFF
            ch &= 0x3F;
            {
                if (ch > 0x37) {
                    if (ch == 0x3B) {
                        if (!_parsingContext.inObject()) {
                            _reportMismatchedEndMarker('}', ']');
                        }
                        _parsingContext = _parsingContext.getParent();
                        return JsonToken.END_OBJECT;
                    }
                } else {
                    final int len = ch + 2; // values from 2 to 57...
                    String name;
                    Name n = _findDecodedFromSymbols(len);
                    if (n != null) {
                        name = n.getName();
                        _inputPtr += len;
                    } else {
                        name = _decodeShortUnicodeName(len);
                        name = _addDecodedToSymbols(len, name);
                    }
View Full Code Here

Examples of com.github.sommeri.less4j.core.ast.Name

  public Page handlePage(HiddenTokenAwareTree token) {
    Page result = new Page(token);
    List<HiddenTokenAwareTree> children = token.getChildren();
    for (HiddenTokenAwareTree kid : children) {
      if (kid.getType() == LessLexer.IDENT) {
        result.setName(new Name(kid, kid.getText()));
      } else if (kid.getType() == LessLexer.PSEUDO_PAGE) {
        int pseudoPageIndex = 1;
        if (kid.getChild(0).getType() == LessLexer.MEANINGFULL_WHITESPACE) {
          pseudoPageIndex = 2;
          result.setDockedPseudopage(false);
        }
        result.setPseudopage(new Name(kid, ":" + kid.getChild(pseudoPageIndex).getText()));
      } else if (kid.getType() == LessLexer.BODY) {
        result.setBody(createGeneralBody(kid));
      } else {
        throw new BugHappened(GRAMMAR_MISMATCH, kid);
      }
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.