Package com.intel.hadoop.graphbuilder.partition.mapreduce.keyvalue

Examples of com.intel.hadoop.graphbuilder.partition.mapreduce.keyvalue.IngressKeyType


      Class keyclass = IngressJobKeyValueFactory
          .getKeyClassByClassName(TypeFactory.getClassName("string"));
      Class valclass = IngressJobKeyValueFactory.getValueClassByClassName(
          TypeFactory.getClassName("string"), TypeFactory.getClassName("none"),
          TypeFactory.getClassName("int"));
      IngressKeyType key = (IngressKeyType) keyclass.newInstance();
      IngressValueType val = (IngressValueType) valclass.newInstance();
      assertEquals(key.vid().getClass(), StringType.class);
      assertEquals(val.getGraphTypeFactory().createVid().getClass(),
          StringType.class);
      assertEquals(val.getGraphTypeFactory().createVdata().getClass(),
          EmptyType.class);
      assertEquals(val.getGraphTypeFactory().createEdata().getClass(),
View Full Code Here

TOP

Related Classes of com.intel.hadoop.graphbuilder.partition.mapreduce.keyvalue.IngressKeyType

Copyright © 2018 www.massapicom. 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.