public class DeepCqlRecordWriter extends Object implements AutoCloseable
| Constructor and Description |
|---|
DeepCqlRecordWriter(org.apache.spark.TaskContext context,
IDeepJobConfig writeConfig)
Con
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
retrievePartitionKeyValidator()
retrieve the key validator from system.schema_columnfamilies table
|
void |
write(Cells keys,
Cells values)
Adds the provided row to a batch.
|
public DeepCqlRecordWriter(org.apache.spark.TaskContext context,
IDeepJobConfig writeConfig)
context - writeConfig - public void close()
close in interface AutoCloseableprotected void retrievePartitionKeyValidator()
throws org.apache.cassandra.exceptions.ConfigurationException
org.apache.cassandra.exceptions.ConfigurationExceptionpublic void write(Cells keys, Cells values)
keys - the Cells object containing the row keys.values - the Cells object containing all the other row columns.Copyright © 2014. All rights reserved.