public static class Partitioner.PartitionData extends Object implements Serializable, org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
PartitionData() |
PartitionData(org.locationtech.geowave.core.index.ByteArray partitionKey,
org.locationtech.geowave.core.index.ByteArray sortKey,
boolean primary) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
org.locationtech.geowave.core.index.ByteArray |
getCompositeKey() |
org.locationtech.geowave.core.index.ByteArray |
getGroupId() |
org.locationtech.geowave.core.index.ByteArray |
getPartitionKey() |
org.locationtech.geowave.core.index.ByteArray |
getSortKey() |
int |
hashCode() |
boolean |
isPrimary() |
void |
readFields(DataInput dInput) |
void |
setGroupId(org.locationtech.geowave.core.index.ByteArray groupId) |
void |
setPrimary(boolean isPrimary) |
String |
toString() |
void |
write(DataOutput dOutput) |
public PartitionData()
public PartitionData(org.locationtech.geowave.core.index.ByteArray partitionKey,
org.locationtech.geowave.core.index.ByteArray sortKey,
boolean primary)
public org.locationtech.geowave.core.index.ByteArray getPartitionKey()
public org.locationtech.geowave.core.index.ByteArray getSortKey()
public org.locationtech.geowave.core.index.ByteArray getCompositeKey()
public org.locationtech.geowave.core.index.ByteArray getGroupId()
public void setGroupId(org.locationtech.geowave.core.index.ByteArray groupId)
public boolean isPrimary()
public void readFields(DataInput dInput) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput dOutput) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void setPrimary(boolean isPrimary)
Copyright © 2013–2022. All rights reserved.