public class TripleIndexes extends Object implements org.apache.hadoop.io.WritableComparable<TripleIndexes>, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
TripleIndexes.Comparator |
static class |
TripleIndexes.FirstTwoIndexesPartitioner
Partition based on the first and second index.
|
Constructor and Description |
---|
TripleIndexes() |
TripleIndexes(long i1,
long i2,
long i3) |
TripleIndexes(TripleIndexes that) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TripleIndexes other) |
boolean |
equals(Object other) |
long |
getFirstIndex() |
long |
getSecondIndex() |
long |
getThirdIndex() |
int |
hashCode() |
void |
readFields(DataInput in) |
void |
setIndexes(long i1,
long i2,
long i3) |
void |
setIndexes(TripleIndexes that) |
String |
toString() |
void |
write(DataOutput out) |
public TripleIndexes()
public TripleIndexes(long i1, long i2, long i3)
public TripleIndexes(TripleIndexes that)
public void setIndexes(TripleIndexes that)
public long getFirstIndex()
public long getSecondIndex()
public long getThirdIndex()
public void setIndexes(long i1, long i2, long i3)
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public int compareTo(TripleIndexes other)
compareTo
in interface Comparable<TripleIndexes>
Copyright © 2018 The Apache Software Foundation. All rights reserved.