public function getForDynamoDB()
    {
        $hash  = $this->getHash();
        $range = $this->getRange();
        $parameters = array('HashKeyElement' => $hash->getForDynamoDB());
        if (null !== $range) {
            $parameters['RangeKeyElement'] = $range->getForDynamoDB();
        }
        return $parameters;
    }
public function getForDynamoDB()
    {
        $hash  = $this->getHash();
        $range = $this->getRange();
        $parameters = array('HashKeyElement' => $hash->getForDynamoDB());
        if (null !== $range) {
            $parameters['RangeKeyElement'] = $range->getForDynamoDB();
        }
        return $parameters;
    }
public function getForDynamoDB ( ) { $ hash = $ this -> getHash ( ) ; $ range = $ this -> getRange ( ) ; $ parameters = array ( 'HashKeyElement' => $ hash -> getForDynamoDB ( ) ) ; if ( null !== $ range ) { $ parameters [ 'RangeKeyElement' ] = $ range -> getForDynamoDB ( ) ; } return $ parameters ; }
Return schema formated for DynamoDB
@return array
Return schema formated for DynamoDB