Méthode | Description | |
---|---|---|
CombineResultSets ( ResultSet $first, ResultSet $second ) | Combines the first and second result sets, if and only if, the columns of both result sets match. | |
CreateValue ( mixed $value ) : Value | Creates a {@link Value} from the value i.e., a {@link TextValue} for a value of type {@code string}, {@link BooleanValue} for type {@code bool}, {@link NumberValue} for type {@code float}, or {@code int}, {@link DateTimeValue} for type {@link DfpDateTime}, {@link DateValue} for type {@link Date}, and {@link SetValue} for type {@code array}. If the value is a {@code Value}, the value is returned. If the value is {@code null}, an empty {@link TextValue} is returned. | |
GetColumnLabels ( ResultSet $resultSet ) : array | Gets the column labels for the result set. | |
GetRowStringValues ( Row $row ) : array | Gets the values in a row of the result set in the form of a string list. | |
ToString ( Value $value ) : string | Creates a String from the Value. |
Méthode | Description | |
---|---|---|
__construct ( ) | {@link Pql} is meant to be used statically. |
public static CombineResultSets ( ResultSet $first, ResultSet $second ) | ||
$first | ResultSet | |
$second | ResultSet |
public static CreateValue ( mixed $value ) : Value | ||
$value | mixed | the value to convert |
Résultat | Value | the constructed value of the appropriate type |
public static GetColumnLabels ( ResultSet $resultSet ) : array | ||
$resultSet | ResultSet | the result set to get the column labels for |
Résultat | array | the string list of column labels |
public static GetRowStringValues ( Row $row ) : array | ||
$row | Row | the row to get the values for |
Résultat | array | the string list of row labels |