La classe TokyoTyrantTable
(PECL tokyo_tyrant >= 0.1.0)
Introduction
Fournit une API aux tables de la base de données. Une table de base de données peut être créée en utilisant la commande suivante : ttserver -port 1979 /tmp/tt_table.tct. Avec Tokyo Tyrant, l'API de la table est un schéma de base de données qui peut stocker arbitrairement plusieurs paires clé-valeur sous une seule clé primaire.
Synopsis de la classe
     
      TokyoTyrantTable
     
     
     
      extends
      TokyoTyrant
     
     {
    
    /* Méthodes */
    
    
    /* Méthodes héritées */
    
   public TokyoTyrant TokyoTyrant::connect
    ( string 
$host
   [, int $port = TokyoTyrant::RDBDEF_PORT
   [, array $options
  ]] )
   public  TokyoTyrant::__construct
    ([ string 
$host
   [, int $port = TokyoTyrant::RDBDEF_PORT
   [, array $options
  ]]] )
   public mixed TokyoTyrant::restore
    ( string 
$log_dir
   , int $timestamp
   [, bool $check_consistency = true
  ] )
   public mixed TokyoTyrant::setMaster
    ( string 
   }$host
   , int $port
   , int $timestamp
   [, bool $check_consistency = true
  ] )Sommaire
- TokyoTyrantTable::add — Ajoute un enregistrement
- TokyoTyrantTable::genUid — Génère un identifiant unique
- TokyoTyrantTable::get — Récupère une ligne
- TokyoTyrantTable::getIterator — Récupère un itérateur
- TokyoTyrantTable::getQuery — Récupère un objet de requête
- TokyoTyrantTable::out — Supprime un enregistement
- TokyoTyrantTable::put — Enregistre une ligne
- TokyoTyrantTable::putCat — Concatène une ligne
- TokyoTyrantTable::putKeep — Enregistre un nouvel enregistrement
- TokyoTyrantTable::putNr — Enregistre une valeur
- TokyoTyrantTable::putShl — Concatène un enregistrement
- TokyoTyrantTable::setIndex — Définit l'index
