| Modifier and Type | Field and Description |
|---|---|
static int |
NOT_SET |
static byte |
NOT_SET_TYPE |
static byte |
USER_TYPE |
| Constructor and Description |
|---|
Location() |
Location(int dataFileId,
int offset) |
Location(Location item) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Location o) |
boolean |
equals(java.lang.Object o) |
int |
getDataFileId() |
java.util.concurrent.CountDownLatch |
getLatch() |
int |
getOffset() |
int |
getSize() |
byte |
getType() |
int |
hashCode() |
void |
readExternal(java.io.DataInput dis) |
void |
setDataFileId(int file) |
void |
setLatch(java.util.concurrent.CountDownLatch latch) |
void |
setOffset(int offset) |
void |
setSize(int size) |
void |
setType(byte type) |
java.lang.String |
toString() |
void |
writeExternal(java.io.DataOutput dos) |
public static final byte USER_TYPE
public static final byte NOT_SET_TYPE
public static final int NOT_SET
public Location()
public Location(Location item)
public Location(int dataFileId,
int offset)
public int getSize()
public void setSize(int size)
size - the size of the data record including the header.public int getOffset()
public void setOffset(int offset)
public int getDataFileId()
public void setDataFileId(int file)
public byte getType()
public void setType(byte type)
public java.lang.String toString()
toString in class java.lang.Objectpublic void writeExternal(java.io.DataOutput dos)
throws java.io.IOException
java.io.IOExceptionpublic void readExternal(java.io.DataInput dis)
throws java.io.IOException
java.io.IOExceptionpublic java.util.concurrent.CountDownLatch getLatch()
public void setLatch(java.util.concurrent.CountDownLatch latch)
public int compareTo(Location o)
compareTo in interface java.lang.Comparable<Location>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2005-2016 Red Hat, Inc.. All Rights Reserved.