@Deprecated
public final class BulkRecordWriter
extends org.apache.hadoop.mapreduce.RecordWriter<java.nio.ByteBuffer,java.util.List<org.apache.cassandra.thrift.Mutation>>
implements org.apache.hadoop.mapred.RecordWriter<java.nio.ByteBuffer,java.util.List<org.apache.cassandra.thrift.Mutation>>
Modifier and Type | Class and Description |
---|---|
static class |
BulkRecordWriter.ExternalClient
Deprecated.
|
static class |
BulkRecordWriter.NullOutputHandler
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BUFFER_SIZE_IN_MB
Deprecated.
|
protected int |
bufferSize
Deprecated.
|
protected org.apache.hadoop.conf.Configuration |
conf
Deprecated.
|
protected org.apache.hadoop.mapreduce.TaskAttemptContext |
context
Deprecated.
|
protected SSTableLoader |
loader
Deprecated.
|
static java.lang.String |
MAX_FAILED_HOSTS
Deprecated.
|
protected int |
maxFailures
Deprecated.
|
static java.lang.String |
OUTPUT_LOCATION
Deprecated.
|
protected org.apache.hadoop.util.Progressable |
progress
Deprecated.
|
static java.lang.String |
STREAM_THROTTLE_MBITS
Deprecated.
|
protected java.io.Closeable |
writer
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
close(org.apache.hadoop.mapred.Reporter reporter)
Deprecated.
|
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
Deprecated.
|
protected java.lang.String |
getOutputLocation()
Deprecated.
|
void |
write(java.nio.ByteBuffer keybuff,
java.util.List<org.apache.cassandra.thrift.Mutation> value)
Deprecated.
|
public static final java.lang.String OUTPUT_LOCATION
public static final java.lang.String BUFFER_SIZE_IN_MB
public static final java.lang.String STREAM_THROTTLE_MBITS
public static final java.lang.String MAX_FAILED_HOSTS
protected final org.apache.hadoop.conf.Configuration conf
protected final int maxFailures
protected final int bufferSize
protected java.io.Closeable writer
protected SSTableLoader loader
protected org.apache.hadoop.util.Progressable progress
protected org.apache.hadoop.mapreduce.TaskAttemptContext context
protected java.lang.String getOutputLocation() throws java.io.IOException
java.io.IOException
public void close(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws java.io.IOException, java.lang.InterruptedException
close
in class org.apache.hadoop.mapreduce.RecordWriter<java.nio.ByteBuffer,java.util.List<org.apache.cassandra.thrift.Mutation>>
java.io.IOException
java.lang.InterruptedException
@Deprecated public void close(org.apache.hadoop.mapred.Reporter reporter) throws java.io.IOException
close
in interface org.apache.hadoop.mapred.RecordWriter<java.nio.ByteBuffer,java.util.List<org.apache.cassandra.thrift.Mutation>>
java.io.IOException
public void write(java.nio.ByteBuffer keybuff, java.util.List<org.apache.cassandra.thrift.Mutation> value) throws java.io.IOException
write
in interface org.apache.hadoop.mapred.RecordWriter<java.nio.ByteBuffer,java.util.List<org.apache.cassandra.thrift.Mutation>>
write
in class org.apache.hadoop.mapreduce.RecordWriter<java.nio.ByteBuffer,java.util.List<org.apache.cassandra.thrift.Mutation>>
java.io.IOException
Copyright © 2020 The Apache Software Foundation