1Apache::Session::BrowseUasbelre:C:oASnpttaorcrihebe:u::t:CeSadesssPsaeinrodlnr:aD:(oB3crpuommw)esnetaabtlieo:n:Store::Cassandra(3pm)
2
3
4

NAME

6       Apache::Session::Browseable::Store::Cassandra - Store persistent data
7       in a Cassandra database
8

SYNOPSIS

10         use Apache::Session::Browseable::Store::Cassandra;
11
12         my $store = new Apache::Session::Browseable::Store::Cassandra;
13
14         $store->insert($ref);
15         $store->update($ref);
16         $store->materialize($ref);
17         $store->remove($ref);
18

DESCRIPTION

20       Apache::Session::Browseable::Store::Cassandra fulfills the storage
21       interface of Apache::Session. Session data is stored in a Cassandra
22       database.
23

SCHEMA

25       To use this module, you will need at least these columns in a table
26       called 'sessions':
27
28         id text
29         a_session text
30
31       To create this schema, you can execute this command using cqlsh:
32
33         CREATE TABLE sessions (
34            id text PRIMARY KEY,
35            a_session text
36         );
37

CONFIGURATION

39       The module must know what datasource, username, and password to use
40       when connecting to the database.  These values can be set using the
41       options hash (see Apache::Session documentation).  The options are
42       DataSource, UserName, and Password.
43
44       Example:
45
46        tie %hash, 'Apache::Session::Cassandra', $id, {
47            DataSource => 'dbi:Cassandra:host=localhost;keyspace=llng',
48            UserName   => 'database_user',
49            Password   => 'K00l'
50        };
51
52       Instead, you may pass in an already-opened DBI handle to your database.
53
54        tie %hash, 'Apache::Session::Cassandra', $id, {
55            Handle => $dbh
56        };
57

AUTHOR

59       This module was written by Mike Langen <mike.langen@tamedia.ch>, based
60       on the original for Oracle.
61

SEE ALSO

63       Apache::Session, Apache::Session::Store::DBI 1;
64
65
66
67perl v5.38.0                Apache2:0:2S3e-s0s7i-o2n0::Browseable::Store::Cassandra(3pm)
Impressum