Examples of WritableWrapper


Examples of org.apache.giraph.types.WritableWrapper

    if (NullWritable.class.isAssignableFrom(valueClass)) {
      return HiveValueReader.Null.get();
    }
    int columnIndex = columnIndexOrThrow(schema, conf, columnOption);
    Class hiveClass = schema.columnType(columnIndex).javaClass();
    WritableWrapper wrapper = lookup(valueClass, hiveClass);
    return new PrimitiveValueReader(columnIndex, wrapper);
  }
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.