List of usage examples for org.apache.hadoop.io Writable interface-usage
From source file com.cloudera.recordservice.mr.TaskInfo.java
/** * Wrapper around core.Task, implementing the Writable interface. */ public class TaskInfo implements Writable { private Task task_;
From source file com.cloudera.sa.giraph.examples.kmeans.NodeState.java
public class NodeState implements Writable { private PointWritable point = new PointWritable(); private int cluster = -1; private PointWritable clusterCentre = new PointWritable();
From source file com.cloudera.sa.giraph.examples.kmeans.PointWritable.java
public class PointWritable implements Writable { private double[] data = new double[0]; public PointWritable() { this.data = new double[0];
From source file com.cloudera.sa.giraph.examples.ktrusses.EdgeState.java
public class EdgeState implements Writable { private int targetDegree; private int support; private boolean active;
From source file com.cloudera.sa.giraph.examples.ktrusses.Message.java
public class Message implements Writable { public enum Type { DEGREE_UPDATE(0), OPEN_TRIAD(1), TRIANGLE(2), TRUSS_ID(3);
From source file com.cloudera.sa.giraph.examples.ktrusses.PhaseWritable.java
public class PhaseWritable implements Writable { private Phase phase; public PhaseWritable() { }
From source file com.cloudera.sa.giraph.examples.ktrusses.VertexState.java
public class VertexState implements Writable { private int degree; private long trussID; private boolean isInATruss;
From source file com.cloudera.sa.giraph.examples.triangles.Message.java
public class Message implements Writable { public enum Type { DEGREE_UPDATE(0), OPEN_TRIAD(1), TRIANGLE(2);
From source file com.cloudera.science.matching.graph.VertexState.java
/** * Maintains the internal state of a vertex in the bipartite graph within a * Giraph job. */ public class VertexState implements Writable {
From source file com.cloudera.sqoop.lib.LobRef.java
/**
* Abstract base class that holds a reference to a Blob or a Clob.
* DATATYPE is the type being held (e.g., a byte array).
* CONTAINERTYPE is the type used to hold this data (e.g., BytesWritable).
* ACCESSORTYPE is the type used to access this data in a streaming fashion
* (either an InputStream or a Reader).