repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
licson/libSSE-php | https://github.com/licson/libSSE-php/blob/b4b506493165d3dcd4848ecf470110d4b93ddc6b/src/Mechnisms/PdoMechnism.php | src/Mechnisms/PdoMechnism.php | <?php
/**
* libSSE-php
*
* Copyright (C) Licson Lee, Tony Yip 2016.
*
* Permission is hereby granted, free of charge,
* to any person obtaining a copy of this software
* and associated documentation files (the "Software"),
* to deal in the Software without restriction,
* including without limitation the rights... | php | MIT | b4b506493165d3dcd4848ecf470110d4b93ddc6b | 2026-01-05T02:12:38.971353Z | false |
licson/libSSE-php | https://github.com/licson/libSSE-php/blob/b4b506493165d3dcd4848ecf470110d4b93ddc6b/src/Events/TimedEvent.php | src/Events/TimedEvent.php | <?php
/**
* libSSE-php
*
* Copyright (C) Licson Lee, Tony Yip 2016.
*
* Permission is hereby granted, free of charge,
* to any person obtaining a copy of this software
* and associated documentation files (the "Software"),
* to deal in the Software without restriction,
* including without limitation the rights... | php | MIT | b4b506493165d3dcd4848ecf470110d4b93ddc6b | 2026-01-05T02:12:38.971353Z | false |
licson/libSSE-php | https://github.com/licson/libSSE-php/blob/b4b506493165d3dcd4848ecf470110d4b93ddc6b/tests/SSETest.php | tests/SSETest.php | <?php
/**
* libSSE-php
*
* Copyright (C) Licson Lee, Tony Yip 2016.
*
* Permission is hereby granted, free of charge,
* to any person obtaining a copy of this software
* and associated documentation files (the "Software"),
* to deal in the Software without restriction,
* including without limitation the rights... | php | MIT | b4b506493165d3dcd4848ecf470110d4b93ddc6b | 2026-01-05T02:12:38.971353Z | false |
licson/libSSE-php | https://github.com/licson/libSSE-php/blob/b4b506493165d3dcd4848ecf470110d4b93ddc6b/tests/Mechnisms/FileMechnismTest.php | tests/Mechnisms/FileMechnismTest.php | <?php
/**
* libSSE-php
*
* Copyright (C) Licson Lee, Tony Yip 2016.
*
* Permission is hereby granted, free of charge,
* to any person obtaining a copy of this software
* and associated documentation files (the "Software"),
* to deal in the Software without restriction,
* including without limitation the rights... | php | MIT | b4b506493165d3dcd4848ecf470110d4b93ddc6b | 2026-01-05T02:12:38.971353Z | false |
licson/libSSE-php | https://github.com/licson/libSSE-php/blob/b4b506493165d3dcd4848ecf470110d4b93ddc6b/examples/chat/recv.php | examples/chat/recv.php | <?php
// Load libSSE via autoloader
require_once __DIR__ . '/../../vendor/autoload.php';
// We only need the data instance here
use Sse\Data;
// Create a libSSE data instance, which is shared across all data instances
// in all PHP scripts. This allows easy cross-script communications that allows
// us to notify the... | php | MIT | b4b506493165d3dcd4848ecf470110d4b93ddc6b | 2026-01-05T02:12:38.971353Z | false |
licson/libSSE-php | https://github.com/licson/libSSE-php/blob/b4b506493165d3dcd4848ecf470110d4b93ddc6b/examples/chat/send.php | examples/chat/send.php | <?php
// Load libSSE via autoloader
require_once __DIR__ . '/../../vendor/autoload.php';
use Sse\Data;
use Sse\SSE;
use Sse\Event;
// Create a libSSE data instance, which is shared across all data instances
// in all PHP scripts. This allows easy cross-script communications for some of
// the magic we done here.
$da... | php | MIT | b4b506493165d3dcd4848ecf470110d4b93ddc6b | 2026-01-05T02:12:38.971353Z | false |
licson/libSSE-php | https://github.com/licson/libSSE-php/blob/b4b506493165d3dcd4848ecf470110d4b93ddc6b/examples/system/data.php | examples/system/data.php | <?php
require_once('../../vendor/autoload.php');
use Sse\Events\TimedEvent;
use Sse\SSE;
// This function fixes those who are in windows
function get_server_load() {
if (stristr(PHP_OS, 'win')) {
$wmi = new COM("Winmgmts://");
$server = $wmi->execquery("SELECT LoadPercentage FROM Win32_Processor")... | php | MIT | b4b506493165d3dcd4848ecf470110d4b93ddc6b | 2026-01-05T02:12:38.971353Z | false |
licson/libSSE-php | https://github.com/licson/libSSE-php/blob/b4b506493165d3dcd4848ecf470110d4b93ddc6b/examples/basic/symfony.php | examples/basic/symfony.php | <?php
/**
* libSSE-php
*
* Copyright (C) Tony Yip 2016.
*
* Permission is hereby granted, free of charge,
* to any person obtaining a copy of this software
* and associated documentation files (the "Software"),
* to deal in the Software without restriction,
* including without limitation the rights to use,
* ... | php | MIT | b4b506493165d3dcd4848ecf470110d4b93ddc6b | 2026-01-05T02:12:38.971353Z | false |
licson/libSSE-php | https://github.com/licson/libSSE-php/blob/b4b506493165d3dcd4848ecf470110d4b93ddc6b/examples/basic/data.php | examples/basic/data.php | <?php
// Load libSSE via autoloader
require_once __DIR__ . '/../../vendor/autoload.php';
use Sse\Event;
use Sse\SSE;
// A simple time event to push server time to clients
class TimeEvent implements Event {
public function check(){
// Time always updates, so always return true
return true;
}
public function u... | php | MIT | b4b506493165d3dcd4848ecf470110d4b93ddc6b | 2026-01-05T02:12:38.971353Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/logout.php | logout.php | <?php
/*
Cassandra Cluster Admin
@author Sébastien Giroux
@copyright All rights reserved - 2011
*/
require('include/kernel.inc.php');
unset($_SESSION['cca_login']);
redirect('login.php');
?> | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/describe_columnfamily.php | describe_columnfamily.php | <?php
/*
Cassandra Cluster Admin
@author Sébastien Giroux
@copyright All rights reserved - 2011
*/
require('include/kernel.inc.php');
require('include/verify_login.inc.php');
$keyspace_name = '';
if (isset($_GET['keyspace_name'])) {
$keyspace_name = $_GET['keyspace_name'];
}
$columnfamily_name... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/jmx.php | jmx.php | <?php
/*
Cassandra Cluster Admin
@author Sébastien Giroux
@copyright All rights reserved - 2011
*/
require('include/kernel.inc.php');
require('include/verify_login.inc.php');
$all_nodes = $cluster_helper->getArrayOfNodesForCurrentCluster();
$first_host = explode(':',$all_nodes[0]);
$first_host = $firs... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/counters.php | counters.php | <?php
/*
Cassandra Cluster Admin
@author Sébastien Giroux
@copyright All rights reserved - 2011
*/
require('include/kernel.inc.php');
require('include/verify_login.inc.php');
$keyspace_name = '';
if (isset($_GET['keyspace_name'])) {
$keyspace_name = $_GET['keyspace_name'];
}
$columnfamily_name =... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/describe_keyspace.php | describe_keyspace.php | <?php
/*
Cassandra Cluster Admin
@author Sébastien Giroux
@copyright All rights reserved - 2011
*/
require('include/kernel.inc.php');
require('include/verify_login.inc.php');
$keyspace_name = '';
if (isset($_GET['keyspace_name'])) {
$keyspace_name = $_GET['keyspace_name'];
}
$current_page_title ... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/login.php | login.php | <?php
/*
Cassandra Cluster Admin
@author Sébastien Giroux
@copyright All rights reserved - 2011
*/
require('include/kernel.inc.php');
/*
No login required mode, redirect to index
*/
if (!CCA_LOGIN_REQUIRED) {
redirect('index.php');
}
$vw_vars['login_error'] = '';
/*
Submit login form
*/... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/columnfamily_action.php | columnfamily_action.php | <?php
/*
Cassandra Cluster Admin
@author Sébastien Giroux
@copyright All rights reserved - 2011
*/
require('include/kernel.inc.php');
require('include/verify_login.inc.php');
use phpcassa\Connection\ConnectionPool;
use phpcassa\ColumnFamily;
use phpcassa\SuperColumnFamily;
use phpcassa\UUID;
use ca... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | true |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/index.php | index.php | <?php
/*
Cassandra Cluster Admin
@author Sébastien Giroux
@copyright All rights reserved - 2011
*/
require('include/kernel.inc.php');
require('include/verify_login.inc.php');
// Change current cluster
if (isset($_GET['cluster']) && $_GET['cluster'] >= 0 && $_GET['cluster'] <= $cluster_helper->getClust... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/keyspace_action.php | keyspace_action.php | <?php
/*
Cassandra Cluster Admin
@author Sébastien Giroux
@copyright All rights reserved - 2011
*/
require('include/kernel.inc.php');
require('include/verify_login.inc.php');
$included_header = false;
$is_valid_action = false;
$action = '';
if (isset($_GET['action'])) $action = $_GET['action'];
... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/cluster_info.php | cluster_info.php | <?php
/*
Cassandra Cluster Admin
@author Sébastien Giroux
@copyright All rights reserved - 2011
*/
require_once('include/kernel.inc.php');
require_once('include/verify_login.inc.php');
$vw_vars['cluster_details'] = $CASSANDRA_CLUSTERS;
$vw_vars['cluster_name'] = $sys_manager->describe_cluster_name();
... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/conf.inc.php | include/conf.inc.php | <?php
/*
Cassandra Cluster Admin
@author Sébastien Giroux
@copyright All rights reserved - 2011
*/
/*
Add as many Cassandra nodes as you want in the nodes array like so: array('10.70.80.90:9160','10.70.80.100:9160','10.70.80.110:9160')
Multi cluster is also supported:
$CASSANDRA_CLUSTERS = arra... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/autoload.php | include/autoload.php | <?php
$GLOBALS['THRIFT_ROOT'] = __DIR__.'/thrift';
if (! isset($GLOBALS['THRIFT_AUTOLOAD'])) {
$GLOBALS['THRIFT_AUTOLOAD'] = array();
}
spl_autoload_register(function($className){
if (strpos($className, 'phpcassa') === 0) {
require_once __DIR__.'/'.str_replace('\\', '/', $className).'.php';
} else... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/verify_login.inc.php | include/verify_login.inc.php | <?php
/*
Cassandra Cluster Admin
@author Sébastien Giroux
@copyright All rights reserved - 2011
*/
if (CCA_LOGIN_REQUIRED && (!isset($_SESSION['cca_login']) || $_SESSION['cca_login'] !== md5(CCA_USERNAME.CCA_PASSWORD))) {
redirect('login.php?you_must_be_logged=1');
}
?> | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/kernel.inc.php | include/kernel.inc.php | <?php
/*
Cassandra Cluster Admin
@author Sébastien Giroux
@copyright All rights reserved - 2011
*/
require('include/autoload.php');
use phpcassa\SystemManager;
require('include/lang/english.php');
require('helper/ClusterHelper.php');
require('helper/ColumnFamilyHelper.php');
require('helper/MX... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/lang/english.php | include/lang/english.php | <?php
/*
Cassandra Cluster Admin
@author Sébastien Giroux
@copyright All rights reserved - 2011
*/
/*
Form sucess
*/
$lang['form_success_create_keyspace'] = 'Keyspace "%keyspace_name%" has been created successfully!<br />Query took %query_time%';
$lang['form_success_edit_keyspace'] = 'Keyspace "%ke... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/SuperColumnFamily.php | include/phpcassa/SuperColumnFamily.php | <?php
namespace phpcassa;
use phpcassa\ColumnFamily;
use phpcassa\ColumnSlice;
use cassandra\Deletion;
use cassandra\ColumnParent;
use cassandra\ColumnPath;
use cassandra\CounterColumn;
use cassandra\CounterSuperColumn;
use cassandra\ColumnOrSuperColumn;
use cassandra\Column;
use cassandra\SuperColumn;
/**
* Repres... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/AbstractColumnFamily.php | include/phpcassa/AbstractColumnFamily.php | <?php
namespace phpcassa;
use phpcassa\ColumnSlice;
use phpcassa\Schema\DataType;
use phpcassa\Schema\DataType\BytesType;
use phpcassa\Schema\DataType\CompositeType;
use phpcassa\Schema\DataType\Serialized;
use phpcassa\Iterator\IndexedColumnFamilyIterator;
use phpcassa\Iterator\RangeColumnFamilyIterator;
use phpcass... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | true |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/UUID.php | include/phpcassa/UUID.php | <?php
namespace phpcassa;
/*
DrUUID RFC4122 library for PHP5
by J. King (http://jkingweb.ca/)
Licensed under MIT license
See http://jkingweb.ca/code/php/lib.uuid/
for documentation
Last revised 2010-02-15
*/
/*
Copyright (c) 2009 J. King
Permission is hereby granted, free of charge, to any perso... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/ColumnFamily.php | include/phpcassa/ColumnFamily.php | <?php
namespace phpcassa;
use cassandra\ConsistencyLevel;
use cassandra\CounterColumn;
/**
* Representation of a column family in Cassandra.
*
* All data insertions, deletions, or retrievals will go through a ColumnFamily.
* This may only be used for standard column families; you must use
* \phpcassa\SuperColumn... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/ColumnSlice.php | include/phpcassa/ColumnSlice.php | <?php
namespace phpcassa;
use cassandra\SliceRange;
/**
* Represents a range of columns to slice from a row, multiple rows,
* or a super column.
*
* @package phpcassa
*/
class ColumnSlice extends SliceRange {
/** The default limit to the number of columns retrieved in queries. */
const DEFAULT_COLUMN_CO... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/SystemManager.php | include/phpcassa/SystemManager.php | <?php
namespace phpcassa;
use phpcassa\Connection\ConnectionWrapper;
use phpcassa\Schema\DataType;
use cassandra\KsDef;
use cassandra\CfDef;
use cassandra\ColumnDef;
use cassandra\IndexType;
/**
* Helps with getting information about the schema, making
* schema changes, and getting information about the state
* a... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/StrategyClass.php | include/phpcassa/Schema/StrategyClass.php | <?php
namespace phpcassa\Schema;
/**
* Replication strategies for keyspaces.
*
* @package phpcassa\Schema
*/
class StrategyClass {
/** Ignores node DCs and racks. */
const SIMPLE_STRATEGY = "SimpleStrategy";
/** Allows a replication factor per-DC. */
const NETWORK_TOPOLOGY_STRATEGY = "NetworkTopo... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType.php | include/phpcassa/Schema/DataType.php | <?php
namespace phpcassa\Schema;
use phpcassa\Schema\DataType\CompositeType;
/**
* Maps type strings to packer and unpacker functions.
*
* @package phpcassa\Schema
*/
class DataType
{
const BYTES_TYPE = "BytesType";
const LONG_TYPE = "LongType";
const INTEGER_TYPE = "IntegerType";
const INT32_TYPE... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType/CassandraType.php | include/phpcassa/Schema/DataType/CassandraType.php | <?php
namespace phpcassa\Schema\DataType;
/**
* @package phpcassa\Schema\DataType
*/
class CassandraType {
public function pack($value, $is_name=null, $slice_end=null, $is_data=null) {
return $value;
}
public function unpack($data, $is_name=null) {
return $data;
}
public functio... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType/Serialized.php | include/phpcassa/Schema/DataType/Serialized.php | <?php
namespace phpcassa\Schema\DataType;
interface Serialized {}
| php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType/DoubleType.php | include/phpcassa/Schema/DataType/DoubleType.php | <?php
namespace phpcassa\Schema\DataType;
use phpcassa\Schema\DataType\Serialized;
/**
* Stores data as an 8-byte double-precision float.
*
* @package phpcassa\Schema\DataType
*/
class DoubleType extends CassandraType implements Serialized
{
public function pack($value, $is_name=true, $slice_end=null, $is_dat... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType/AsciiType.php | include/phpcassa/Schema/DataType/AsciiType.php | <?php
namespace phpcassa\Schema\DataType;
/**
* Stores data as ASCII strings.
*
* @package phpcassa\Schema\DataType
*/
class AsciiType extends CassandraType { }
| php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType/CompositeType.php | include/phpcassa/Schema/DataType/CompositeType.php | <?php
namespace phpcassa\Schema\DataType;
use phpcassa\Schema\DataType\Serialized;
use phpcassa\ColumnFamily;
/**
* Holds multiple types as subcomponents.
*
* @package phpcassa\Schema\DataType
*/
class CompositeType extends CassandraType implements Serialized
{
/**
* @param phpcassa\Schema\DataType\Cassa... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType/UUIDType.php | include/phpcassa/Schema/DataType/UUIDType.php | <?php
namespace phpcassa\Schema\DataType;
use phpcassa\Schema\DataType\Serialized;
use phpcassa\UUID;
/**
* Handles any type of UUID.
*
* @package phpcassa\Schema\DataType
*/
class UUIDType extends CassandraType implements Serialized
{
public function pack($value, $is_name=true, $slice_end=null, $is_data=fals... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType/UTF8Type.php | include/phpcassa/Schema/DataType/UTF8Type.php | <?php
namespace phpcassa\Schema\DataType;
/**
* Format for UTF8-encoded unicode strings.
*
* @package phpcassa\Schema\DataType
*/
class UTF8Type extends CassandraType { }
| php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType/FloatType.php | include/phpcassa/Schema/DataType/FloatType.php | <?php
namespace phpcassa\Schema\DataType;
use phpcassa\Schema\DataType\Serialized;
/**
* Stores data as a 4-byte single-precision float.
*
* @package phpcassa\Schema\DataType
*/
class FloatType extends CassandraType implements Serialized
{
public function pack($value, $is_name=true, $slice_end=null, $is_data=... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType/LexicalUUIDType.php | include/phpcassa/Schema/DataType/LexicalUUIDType.php | <?php
namespace phpcassa\Schema\DataType;
use phpcassa\Schema\DataType\Serialized;
use phpcassa\Schema\DataType\UUIDType;
/**
* Handles non-v1 UUIDS.
*
* @package phpcassa\Schema\DataType
*/
class LexicalUUIDType extends UUIDType {}
| php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType/LongType.php | include/phpcassa/Schema/DataType/LongType.php | <?php
namespace phpcassa\Schema\DataType;
/**
* Stores data as an 8-byte signed integer.
*
* @package phpcassa\Schema\DataType
*/
class LongType extends CassandraType {
public function pack($value, $is_name=null, $slice_end=null, $is_data=null)
{
// If we are on a 32bit architecture we have to exp... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType/DateType.php | include/phpcassa/Schema/DataType/DateType.php | <?php
namespace phpcassa\Schema\DataType;
use phpcassa\Schema\DataType\LongType;
use phpcassa\Schema\DataType\Serialized;
/**
* Stores a date as a number of milliseconds since the unix epoch.
*
* @package phpcassa\Schema\DataType
*/
class DateType extends LongType implements Serialized {
public function pack... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType/TimeUUIDType.php | include/phpcassa/Schema/DataType/TimeUUIDType.php | <?php
namespace phpcassa\Schema\DataType;
use phpcassa\Schema\DataType\UUIDType;
/**
* Stores v1 UUIDs, which have a timestamp component.
*
* @package phpcassa\Schema\DataType
*/
class TimeUUIDType extends UUIDType {}
| php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType/Int32Type.php | include/phpcassa/Schema/DataType/Int32Type.php | <?php
namespace phpcassa\Schema\DataType;
/**
* Stores data as an 4-byte signed integer.
*
* @package phpcassa\Schema\DataType
*/
class Int32Type extends CassandraType {
public function pack($value, $is_name=null, $slice_end=null, $is_data=null)
{
// signed/unsigned doesn't matter when packing
... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType/BooleanType.php | include/phpcassa/Schema/DataType/BooleanType.php | <?php
namespace phpcassa\Schema\DataType;
/**
* Stores data as single-byte boolean values.
*
* @package phpcassa\Schema\DataType
*/
class BooleanType extends CassandraType {
public function pack($value, $is_name=null, $slice_end=null, $is_data=null)
{
return pack('C', $value);
}
public fu... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType/IntegerType.php | include/phpcassa/Schema/DataType/IntegerType.php | <?php
namespace phpcassa\Schema\DataType;
/**
* Stores data in a variable-length BigInteger-compatible format.
*
* This is the most space-efficient integer format.
*
* @package phpcassa\Schema\DataType
*/
class IntegerType extends CassandraType {
public function pack($value, $is_name=null, $slice_end=null, ... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Schema/DataType/BytesType.php | include/phpcassa/Schema/DataType/BytesType.php | <?php
namespace phpcassa\Schema\DataType;
/**
* Performs no transformation or validation of the data.
*
* This is the default type for all data in Cassandra.
*
* @package phpcassa\Schema\DataType
*/
class BytesType extends CassandraType { }
| php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Iterator/RangeColumnFamilyIterator.php | include/phpcassa/Iterator/RangeColumnFamilyIterator.php | <?php
namespace phpcassa\Iterator;
use phpcassa\Schema\DataType\Serialized;
use cassandra\KeyRange;
/**
* Iterates over a column family row-by-row, typically with only a subset
* of each row's columns.
*
* @package phpcassa\Iterator
*/
class RangeColumnFamilyIterator extends ColumnFamilyIterator {
private $... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Iterator/IndexedColumnFamilyIterator.php | include/phpcassa/Iterator/IndexedColumnFamilyIterator.php | <?php
namespace phpcassa\Iterator;
use phpcassa\Schema\DataType\Serialized;
/**
* Iterates over a column family row-by-row, typically with only a subset
* of each row's columns.
*
* @package phpcassa\Iterator
*/
class IndexedColumnFamilyIterator extends ColumnFamilyIterator {
private $index_clause;
pub... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Iterator/ColumnFamilyIterator.php | include/phpcassa/Iterator/ColumnFamilyIterator.php | <?php
namespace phpcassa\Iterator;
use phpcassa\ColumnFamily;
/**
* @package phpcassa/Iterator
*/
class ColumnFamilyIterator implements \Iterator {
protected $column_family;
protected $buffer_size;
protected $row_count;
protected $read_consistency_level;
protected $column_parent, $predicate;
... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Iterator/RangeTokenColumnFamilyIterator.php | include/phpcassa/Iterator/RangeTokenColumnFamilyIterator.php | <?php
namespace phpcassa\Iterator;
use phpcassa\Schema\DataType\Serialized;
use cassandra\KeyRange;
/**
* Iterates over a column family row-by-row, typically with only a subset
* of each row's columns.
*
* @package phpcassa\Iterator
*/
class RangeTokenColumnFamilyIterator extends ColumnFamilyIterator {
priv... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Batch/Mutator.php | include/phpcassa/Batch/Mutator.php | <?php
namespace phpcassa\Batch;
use phpcassa\Util\Clock;
use cassandra\ConsistencyLevel;
use cassandra\Deletion;
use cassandra\Mutation;
use cassandra\SlicePredicate;
/**
* Allows you to group multiple mutations across one or more
* keys and column families into a single batch operation.
*
* @package phpcassa\Ba... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Batch/AbstractMutator.php | include/phpcassa/Batch/AbstractMutator.php | <?php
namespace phpcassa\Batch;
/**
* Common methods shared by CfMutator and Mutator classes
*/
abstract class AbstractMutator
{
protected $pool;
protected $buffer = array();
protected $cl;
/**
* Send all buffered mutations.
*
* If an error occurs, the buffer will be preserverd, allo... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Batch/CfMutator.php | include/phpcassa/Batch/CfMutator.php | <?php
namespace phpcassa\Batch;
use phpcassa\Batch\Mutator;
/**
* A convenience subclass of phpcassa\Batch\Mutator for dealing
* with batch operations on a single column family.
*
* @package phpcassa\Batch
*/
class CfMutator extends AbstractMutator {
protected $cf;
protected $mutatorInstance;
/**
... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Index/IndexClause.php | include/phpcassa/Index/IndexClause.php | <?php
namespace phpcassa\Index;
use phpcassa\ColumnFamily;
/**
* @package phpcassa\Index
*/
class IndexClause extends \cassandra\IndexClause {
/**
* Constructs an index clause for use with get_indexed_slices().
*
* @param phpcassa\Index\IndexExpression[] $expr_list the list of expressions
*... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Index/IndexExpression.php | include/phpcassa/Index/IndexExpression.php | <?php
namespace phpcassa\Index;
use phpcassa\ColumnFamily;
/**
* @package phpcassa\Index
*/
class IndexExpression extends \cassandra\IndexExpression {
/**
* Constructs an IndexExpression to be used in an IndexClause, which can
* be used with get_indexed_slices().
* @param mixed $column_name the ... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Util/Clock.php | include/phpcassa/Util/Clock.php | <?php
namespace phpcassa\Util;
/**
* A clock that can provide microsecond precision.
*
* @package phpcassa\Util
*/
class Clock {
/**
* Get a timestamp with microsecond precision
*/
static public function get_time() {
// By Zach Buller (zachbuller@gmail.com)
$time1 = \microtime();... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/UUID/UUIDException.php | include/phpcassa/UUID/UUIDException.php | <?php
namespace phpcassa\UUID;
/**
* @package phpcassa\Util
*/
class UUIDException extends \Exception {
}
| php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Connection/MaxRetriesException.php | include/phpcassa/Connection/MaxRetriesException.php | <?php
namespace phpcassa\Connection;
/**
* The connection pool has retried an operation as many
* times as is allowed by your $max_retries setting.
*
* @package phpcassa\Connection
*/
class MaxRetriesException extends \Exception { }
| php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Connection/ConnectionWrapper.php | include/phpcassa/Connection/ConnectionWrapper.php | <?php
namespace phpcassa\Connection;
// These don't use namespaces yet, so we can't rely on the autoloader
require_once $GLOBALS['THRIFT_ROOT'].'/transport/TSocket.php';
require_once $GLOBALS['THRIFT_ROOT'].'/protocol/TBinaryProtocol.php';
require_once $GLOBALS['THRIFT_ROOT'].'/transport/TFramedTransport.php';
require... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Connection/ConnectionPool.php | include/phpcassa/Connection/ConnectionPool.php | <?php
namespace phpcassa\Connection;
use phpcassa\Connection\ConnectionWrapper;
use phpcassa\Connection\MaxRetriesException;
use phpcassa\Connection\NoServerAvailable;
use cassandra\TimedOutException;
use cassandra\NotFoundException;
use cassandra\UnavailableException;
/**
* A pool of connections to a set of server... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/phpcassa/Connection/NoServerAvailable.php | include/phpcassa/Connection/NoServerAvailable.php | <?php
namespace phpcassa\Connection;
/**
* The connection pool was unable to successfully open a
* connection to any of the servers after trying each
* server twice.
*
* @package phpcassa\Connection
*/
class NoServerAvailable extends \Exception { }
| php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/Thrift.php | include/thrift/Thrift.php | <?php
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/transport/TServerSocket.php | include/thrift/transport/TServerSocket.php | <?php
include_once $GLOBALS['THRIFT_ROOT'].'/transport/TServerTransport.php';
include_once $GLOBALS['THRIFT_ROOT'].'/transport/TSocket.php';
/**
* Socket implementation of a server agent.
*
* @package thrift.transport
*/
class TServerSocket extends TServerTransport {
/**
* Handle for the listener socket
... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/transport/THttpClient.php | include/thrift/transport/THttpClient.php | <?php
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/transport/TServerTransport.php | include/thrift/transport/TServerTransport.php | <?php
/**
* Generic class for Server agent.
*
* @package thrift.transport
*/
abstract class TServerTransport {
/**
* List for new clients
*
* @abstract
* @return void
*/
abstract public function listen();
/**
* Close the server
*
* @abstract
* @return void
*/
abstract public ... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/transport/TSocketPool.php | include/thrift/transport/TSocketPool.php | <?php
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/transport/TBufferedTransport.php | include/thrift/transport/TBufferedTransport.php | <?php
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/transport/TTransport.php | include/thrift/transport/TTransport.php | <?php
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/transport/TSocket.php | include/thrift/transport/TSocket.php | <?php
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/transport/TFramedTransport.php | include/thrift/transport/TFramedTransport.php | <?php
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/transport/TPhpStream.php | include/thrift/transport/TPhpStream.php | <?php
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/transport/TMemoryBuffer.php | include/thrift/transport/TMemoryBuffer.php | <?php
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/transport/TNullTransport.php | include/thrift/transport/TNullTransport.php | <?php
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/transport/TTransportFactory.php | include/thrift/transport/TTransportFactory.php | <?php
class TTransportFactory {
/**
* @static
* @param TTransport $transport
* @return TTransport
*/
public static function getTransport(TTransport $transport) {
return $transport;
}
}
| php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.Cassandra_get_indexed_slices_result.php | include/thrift/packages/cassandra/cassandra.Cassandra_get_indexed_slices_result.php | <?php
/**
* @generated
*/
namespace cassandra;
class Cassandra_get_indexed_slices_result extends \TBase {
static $_TSPEC;
public $success = null;
public $ire = null;
public $ue = null;
public $te = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = ar... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.Cassandra_describe_keyspaces_result.php | include/thrift/packages/cassandra/cassandra.Cassandra_describe_keyspaces_result.php | <?php
/**
* @generated
*/
namespace cassandra;
class Cassandra_describe_keyspaces_result extends \TBase {
static $_TSPEC;
public $success = null;
public $ire = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
0 => array(
'var' =... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.TokenRange.php | include/thrift/packages/cassandra/cassandra.TokenRange.php | <?php
/**
* @generated
*/
namespace cassandra;
class TokenRange extends \TBase {
static $_TSPEC;
public $start_token = null;
public $end_token = null;
public $endpoints = null;
public $rpc_endpoints = null;
public $endpoint_details = null;
public function __construct($vals=null) {
if (!isset(self... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.Cassandra_describe_version_result.php | include/thrift/packages/cassandra/cassandra.Cassandra_describe_version_result.php | <?php
/**
* @generated
*/
namespace cassandra;
class Cassandra_describe_version_result extends \TBase {
static $_TSPEC;
public $success = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
'... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.AuthenticationException.php | include/thrift/packages/cassandra/cassandra.AuthenticationException.php | <?php
/**
* @generated
*/
namespace cassandra;
class AuthenticationException extends \TException {
static $_TSPEC;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
1 => array(
'var' => 'message',
'type' => \TType::STRING,
... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.KeyRange.php | include/thrift/packages/cassandra/cassandra.KeyRange.php | <?php
/**
* @generated
*/
namespace cassandra;
class KeyRange extends \TBase {
static $_TSPEC;
public $start_key = null;
public $end_key = null;
public $start_token = null;
public $end_token = null;
public $row_filter = null;
public $count = 100;
public function __construct($vals=null) {
if (!i... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.Cassandra_get_count_result.php | include/thrift/packages/cassandra/cassandra.Cassandra_get_count_result.php | <?php
/**
* @generated
*/
namespace cassandra;
class Cassandra_get_count_result extends \TBase {
static $_TSPEC;
public $success = null;
public $ire = null;
public $ue = null;
public $te = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.Cassandra_get_count_args.php | include/thrift/packages/cassandra/cassandra.Cassandra_get_count_args.php | <?php
/**
* @generated
*/
namespace cassandra;
class Cassandra_get_count_args extends \TBase {
static $_TSPEC;
public $key = null;
public $column_parent = null;
public $predicate = null;
public $consistency_level = 1;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
se... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.Cassandra_get_slice_result.php | include/thrift/packages/cassandra/cassandra.Cassandra_get_slice_result.php | <?php
/**
* @generated
*/
namespace cassandra;
class Cassandra_get_slice_result extends \TBase {
static $_TSPEC;
public $success = null;
public $ire = null;
public $ue = null;
public $te = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.Cassandra_get_paged_slice_result.php | include/thrift/packages/cassandra/cassandra.Cassandra_get_paged_slice_result.php | <?php
/**
* @generated
*/
namespace cassandra;
class Cassandra_get_paged_slice_result extends \TBase {
static $_TSPEC;
public $success = null;
public $ire = null;
public $ue = null;
public $te = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.Cassandra_describe_keyspaces_args.php | include/thrift/packages/cassandra/cassandra.Cassandra_describe_keyspaces_args.php | <?php
/**
* @generated
*/
namespace cassandra;
class Cassandra_describe_keyspaces_args extends \TBase {
static $_TSPEC;
public function __construct() {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
);
}
}
public function getName() {
return 'Cassandra_describe_keyspaces_args... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.Cassandra_describe_schema_versions_result.php | include/thrift/packages/cassandra/cassandra.Cassandra_describe_schema_versions_result.php | <?php
/**
* @generated
*/
namespace cassandra;
class Cassandra_describe_schema_versions_result extends \TBase {
static $_TSPEC;
public $success = null;
public $ire = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
0 => array(
'... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.Cassandra_set_cql_version_args.php | include/thrift/packages/cassandra/cassandra.Cassandra_set_cql_version_args.php | <?php
/**
* @generated
*/
namespace cassandra;
class Cassandra_set_cql_version_args extends \TBase {
static $_TSPEC;
public $version = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
1 => array(
'var' => 'version',
'typ... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.UnavailableException.php | include/thrift/packages/cassandra/cassandra.UnavailableException.php | <?php
/**
* @generated
*/
namespace cassandra;
class UnavailableException extends \TException {
static $_TSPEC;
public function __construct() {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
);
}
}
public function getName() {
return 'UnavailableException';
}
public func... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.CounterSuperColumn.php | include/thrift/packages/cassandra/cassandra.CounterSuperColumn.php | <?php
/**
* @generated
*/
namespace cassandra;
class CounterSuperColumn extends \TBase {
static $_TSPEC;
public $name = null;
public $columns = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
1 => array(
'var' => 'name',
... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.Cassandra_set_cql_version_result.php | include/thrift/packages/cassandra/cassandra.Cassandra_set_cql_version_result.php | <?php
/**
* @generated
*/
namespace cassandra;
class Cassandra_set_cql_version_result extends \TBase {
static $_TSPEC;
public $ire = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
1 => array(
'var' => 'ire',
'type' => ... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.Cassandra_prepare_cql_query_result.php | include/thrift/packages/cassandra/cassandra.Cassandra_prepare_cql_query_result.php | <?php
/**
* @generated
*/
namespace cassandra;
class Cassandra_prepare_cql_query_result extends \TBase {
static $_TSPEC;
public $success = null;
public $ire = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
0 => array(
'var' =>... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.Cassandra_system_update_keyspace_result.php | include/thrift/packages/cassandra/cassandra.Cassandra_system_update_keyspace_result.php | <?php
/**
* @generated
*/
namespace cassandra;
class Cassandra_system_update_keyspace_result extends \TBase {
static $_TSPEC;
public $success = null;
public $ire = null;
public $sde = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
0 =... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.Cassandra_describe_snitch_args.php | include/thrift/packages/cassandra/cassandra.Cassandra_describe_snitch_args.php | <?php
/**
* @generated
*/
namespace cassandra;
class Cassandra_describe_snitch_args extends \TBase {
static $_TSPEC;
public function __construct() {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
);
}
}
public function getName() {
return 'Cassandra_describe_snitch_args';
}... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.KeySlice.php | include/thrift/packages/cassandra/cassandra.KeySlice.php | <?php
/**
* @generated
*/
namespace cassandra;
class KeySlice extends \TBase {
static $_TSPEC;
public $key = null;
public $columns = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
1 => array(
'var' => 'key',
'type' =... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.ColumnPath.php | include/thrift/packages/cassandra/cassandra.ColumnPath.php | <?php
/**
* @generated
*/
namespace cassandra;
class ColumnPath extends \TBase {
static $_TSPEC;
public $column_family = null;
public $super_column = null;
public $column = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
3 => array(
... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.Cassandra_multiget_count_args.php | include/thrift/packages/cassandra/cassandra.Cassandra_multiget_count_args.php | <?php
/**
* @generated
*/
namespace cassandra;
class Cassandra_multiget_count_args extends \TBase {
static $_TSPEC;
public $keys = null;
public $column_parent = null;
public $predicate = null;
public $consistency_level = 1;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.Cassandra_prepare_cql_query_args.php | include/thrift/packages/cassandra/cassandra.Cassandra_prepare_cql_query_args.php | <?php
/**
* @generated
*/
namespace cassandra;
class Cassandra_prepare_cql_query_args extends \TBase {
static $_TSPEC;
public $query = null;
public $compression = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
1 => array(
'var... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
sebgiroux/Cassandra-Cluster-Admin | https://github.com/sebgiroux/Cassandra-Cluster-Admin/blob/39d146efe017edcf2cb2544c66197033963a516e/include/thrift/packages/cassandra/cassandra.ColumnDef.php | include/thrift/packages/cassandra/cassandra.ColumnDef.php | <?php
/**
* @generated
*/
namespace cassandra;
class ColumnDef extends \TBase {
static $_TSPEC;
public $name = null;
public $validation_class = null;
public $index_type = null;
public $index_name = null;
public $index_options = null;
public function __construct($vals=null) {
if (!isset(self::$_TS... | php | MIT | 39d146efe017edcf2cb2544c66197033963a516e | 2026-01-05T02:13:00.639913Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.