public static class PerformanceEvaluation.PeInputSplit extends org.apache.hadoop.mapreduce.InputSplit implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
PeInputSplit() |
PeInputSplit(TableName tableName,
int startRow,
int rows,
int totalRows,
int clients,
boolean flushCommits,
boolean writeToWAL,
boolean useTags,
int noOfTags) |
| Modifier and Type | Method and Description |
|---|---|
int |
getClients() |
long |
getLength() |
String[] |
getLocations() |
int |
getNoOfTags() |
int |
getRows() |
int |
getStartRow() |
TableName |
getTableName() |
int |
getTotalRows() |
boolean |
isFlushCommits() |
boolean |
isUseTags() |
boolean |
isWriteToWAL() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
public PeInputSplit()
public PeInputSplit(TableName tableName, int startRow, int rows, int totalRows, int clients, boolean flushCommits, boolean writeToWAL, boolean useTags, int noOfTags)
public void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic long getLength() throws IOException, InterruptedException
getLength in class org.apache.hadoop.mapreduce.InputSplitIOExceptionInterruptedExceptionpublic String[] getLocations() throws IOException, InterruptedException
getLocations in class org.apache.hadoop.mapreduce.InputSplitIOExceptionInterruptedExceptionpublic int getStartRow()
public TableName getTableName()
public int getRows()
public int getTotalRows()
public int getClients()
public boolean isFlushCommits()
public boolean isWriteToWAL()
public boolean isUseTags()
public int getNoOfTags()
Copyright © 2007–2019 Cloudera. All rights reserved.