|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
CassandraDaemon
is an abstraction for a Cassandra daemon
service, which defines not only a way to activate and deactivate it, but also
hooks into its lifecycle methods (see AbstractCassandraDaemon.setup()
, AbstractCassandraDaemon.start()
,
AbstractCassandraDaemon.stop()
and AbstractCassandraDaemon.setup()
).BATCH
statement parsed from a CQL query.byte
array containing the bytes to stream over.
CassandraDaemon
interface captures the lifecycle of a
Cassandra daemon that runs on a single node.ColumnFamilyOutputFormat
acts as a Hadoop-specific
OutputFormat that allows reduce tasks to store keys (and corresponding
values) as Cassandra rows (and respective columns) in a given
ColumnFamily.OutputCommitter
that does nothing.buf
.
CREATE COLUMNFAMILY
parsed from a CQL query statement.CREATE INDEX
statement parsed from a CQL query.CREATE KEYSPACE
statement parsed from a CQL query.CreateKeyspaceStatement
instance for a given
keyspace name and keyword arguments.
FutureTask
DELETE
parsed from a CQL query statement.InputStream
for reading the contents of a byte array.ByteArrayInputStream
on the byte array
buf
.
ByteArrayInputStream
on the byte array
buf
with the initial position set to offset
and the
number of bytes available set to offset
+ length
.
OutputStream
for class for writing content to an
(internal) byte array.ByteArrayOutputStream
with a default size of
size
bytes.
CREATE
statement, or defaults where applicable.
UPDATE
statement, either
one parsed from the CQL statement, or the default level otherwise.
RecordWriter
for the given task.
address
as soon as it becomes available.
StorageService.loadNewSSTables(String, String)
for more info
mark()
and
reset()
methods.
Memory
key
.
name
.
len
bytes from this stream and stores
them in byte array b
starting at offset
.
readFully
do but without copying data (thread safe)
buffer
.
buffer
starting at offset offset
.
modified UTF-8
from
this file.
chunkIndex
.
count
number of bytes in this InputStream.
AbstractCassandraDaemon.init(String[])
Hook for JSVC
CassandraDaemon.init(String[])
or
#load(String[])
.
FastByteArrayOutputStream.toString()
.
enc
.
UPDATE
statement parsed from a CQL query statement.CqlParser
only goes as far as extracting the keyword arguments
from these statements, so this method is responsible for processing and
validating, and must be called prior to access.
keyspace
is an existing keyspace and cfName
one of its existing column family.
count
bytes from the byte array buffer
starting at
offset index
to this stream.
oneByte
to the OutputStream.
out
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |