예제 #1
0
 protected function getConfiguration()
 {
     return array(self::CONFIG_TIMESTAMPS => false, self::CONFIG_COLUMN_SCHEMA => array('eventType' => 'uint32', 'resourceCost' => 'sint64', 'sampleRate' => 'uint32', 'requestKey' => 'bytes12'), self::CONFIG_KEY_SCHEMA => array('key_request' => array('columns' => array('requestKey')), 'key_type' => array('columns' => array('eventType', 'epoch')))) + parent::getConfiguration();
 }
예제 #2
0
 protected function getConfiguration()
 {
     return array(self::CONFIG_TIMESTAMPS => false, self::CONFIG_COLUMN_SCHEMA => array('name' => 'text', 'nameHash' => 'bytes12'), self::CONFIG_KEY_SCHEMA => array('key_hash' => array('columns' => array('nameHash'), 'unique' => true))) + parent::getConfiguration();
 }