Examples of StringType


Examples of com.intel.hadoop.graphbuilder.types.StringType

    }
  }

  public Iterator<Vertex<StringType, EmptyType>> getVertices() {
    vlist.clear();
    vlist.add(new Vertex<StringType, EmptyType>(new StringType(title),
        EmptyType.INSTANCE));
    for (String link : links)
      vlist.add(new Vertex<StringType, EmptyType>(new StringType(link),
          EmptyType.INSTANCE));
    return vlist.iterator();
  }
View Full Code Here

Examples of com.mysema.query.sql.types.StringType

        configuration = new Configuration(new HSQLDBTemplates());
//        configuration.setJavaType(Types.DATE, java.util.Date.class);
        configuration.register(new UtilDateType());
        configuration.register("PERSON", "SECUREDID", new EncryptedString());
        configuration.register("PERSON", "GENDER"new EnumByNameType<Gender>(Gender.class));
        configuration.register(new StringType());

    }
View Full Code Here

Examples of com.tdunning.plume.types.StringType

    throw new RuntimeException("Not done");
  }

  @Override
  public <T> PCollection<T> fromJava(Iterable<T> source) {
    return fromJava(source, new PCollectionType(new StringType()));
  }
View Full Code Here

Examples of mondrian.olap.type.StringType

                throw MondrianResource.instance().DuplicateSchemaParameter.ex(
                    name);
            }
            Type type;
            if (xmlParameter.type.equals("String")) {
                type = new StringType();
            } else if (xmlParameter.type.equals("Numeric")) {
                type = new NumericType();
            } else {
                type = new MemberType(null, null, null, null);
            }
View Full Code Here

Examples of mondrian.olap.type.StringType

        public SystemPropertyParameter(String name, boolean system) {
            super(
                name,
                Literal.nullValue,
                "System property '" + name + "'",
                new StringType());
            this.system = system;
            this.propertyDefinition =
                system
                ? null
                : MondrianProperties.instance().getPropertyDefinition(name);
View Full Code Here

Examples of mondrian.olap.type.StringType

    public String getName() {
        return "CurrentDateString";
    }

    public Type[] getParameterTypes() {
        return new Type[] { new StringType() };
    }
View Full Code Here

Examples of mondrian.olap.type.StringType

    public String[] getReservedWords() {
        return null;
    }

    public Type getReturnType(Type[] parameterTypes) {
        return new StringType();
    }
View Full Code Here

Examples of net.percederberg.mibble.type.StringType

     * @param indent         the indentation to use
     */
    private void printConstraint(MibType type, String indent) {
        IntegerType     intType;
        BitSetType      bitType;
        StringType      strType;

        if (type instanceof IntegerType) {
            intType = (IntegerType) type;
            if (intType.hasSymbols()) {
                os.println(" {");
                printEnumeration(intType.getAllSymbols(),
                                 indent + "    ");
                os.println();
                os.print(indent);
                os.print("}");
            } else if (intType.hasConstraint()) {
                os.print(" (");
                os.print(intType.getConstraint());
                os.print(")");
            }
        } else if (type instanceof BitSetType) {
            bitType = (BitSetType) type;
            if (bitType.hasSymbols()) {
                os.println(" {");
                printEnumeration(bitType.getAllSymbols(),
                                 indent + "    ");
                os.println();
                os.print(indent);
                os.print("}");
            } else if (bitType.hasConstraint()) {
                os.print(" (");
                os.print(bitType.getConstraint());
                os.print(")");
            }
        } else if (type instanceof StringType) {
            strType = (StringType) type;
            if (strType.hasConstraint()) {
                os.print(" (");
                os.print(strType.getConstraint());
                os.print(")");
            }
        }
    }
View Full Code Here

Examples of net.percederberg.mibble.type.StringType

     * @param node           the node being exited
     *
     * @return the node to add to the parse tree
     */
    protected Node exitStringType(Production node) {
        StringType  type;
        ArrayList   values;

        values = getChildValues(node);
        if (values.size() == 0) {
            type = new StringType();
        } else {
            type = new StringType((Constraint) values.get(0));
        }
        node.addValue(type);
        return node;
    }
View Full Code Here

Examples of org.activiti.engine.impl.variable.StringType

        for (VariableType customVariableType: customPreVariableTypes) {
          variableTypes.addType(customVariableType);
        }
      }
      variableTypes.addType(new NullType());
      variableTypes.addType(new StringType(4000));
      variableTypes.addType(new LongStringType(4001));
      variableTypes.addType(new BooleanType());
      variableTypes.addType(new ShortType());
      variableTypes.addType(new IntegerType());
      variableTypes.addType(new LongType());
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.