new CassandraRowStream()
Methods
endHandler(handler) → {CassandraRowStream}
Parameters:
| Name | Type | Description |
|---|---|---|
handler |
function |
Returns:
- Type
- CassandraRowStream
exceptionHandler(handler) → {CassandraRowStream}
Parameters:
| Name | Type | Description |
|---|---|---|
handler |
function |
Returns:
- Type
- CassandraRowStream
fetch(l) → {CassandraRowStream}
Parameters:
| Name | Type | Description |
|---|---|---|
l |
number |
Returns:
- Type
- CassandraRowStream
pause() → {CassandraRowStream}
Returns:
- Type
- CassandraRowStream
pipe() → {Pipe}
Pause this stream and return a to transfer the elements of this stream to a destination .
The stream will be resumed when the pipe will be wired to a
WriteStream.
Returns:
a pipe
- Type
- Pipe
pipeTo(dst, handler)
Pipe this
ReadStream to the WriteStream.
Elements emitted by this stream will be written to the write stream until this stream ends or fails.
Once this stream has ended or failed, the write stream will be ended and the handler will be
called with the result.
Parameters:
| Name | Type | Description |
|---|---|---|
dst |
WriteStream | the destination write stream |
handler |
function |
resume() → {CassandraRowStream}
Returns:
- Type
- CassandraRowStream