Examples of StrConfOption


Examples of org.apache.giraph.conf.StrConfOption

   * @param hiveToTypeClass HiveToVertex or HiveToEdge
   */
  public HiveInputOptions(String name, Class<C> hiveToTypeClass) {
    classOpt = ClassConfOption.<C>create(key(name, "class"),
        null, hiveToTypeClass, "Class for converting hive records");
    profileIdOpt = new StrConfOption(key(name, "profileId"),
        name + "_input_profile", "Input profile id");
    partitionOpt = new StrConfOption(key(name, "partition"), "",
        "Input partition filter");
    splitsOpt = new IntConfOption(key(name, "splits"), 0, "Number of splits");
    databaseOpt = new StrConfOption(key(name, "database"), "default",
        "Input database name");
    tableOpt = new StrConfOption(key(name, "table"), "", "Input table name");
    hostOpt = new StrConfOption(key(name, "metastore.host"), null,
        "Hive Metastore host to use. If blank will infer from HiveConf");
    portOpt = new IntConfOption(key(name, "metastore.port"), 9083,
        "Hive Metastore port to use.");
  }
View Full Code Here

Examples of org.apache.giraph.conf.StrConfOption

     *
     * @param graphType GraphType
     */
    public JythonGraphTypeOptions(GraphType graphType) {
      this.graphType = graphType;
      jythonClassNameOption = new StrConfOption("giraph.jython." +
          graphType.dotString() + ".class.name", null,
          "Name of class in Jython implementing " + graphType.spaceString());
      needsWrapperOption = new BooleanConfOption("giraph.jython." +
          graphType.dotString() + ".needs.wrapper", false,
          "Whether the " + graphType.spaceString() +
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.