.content
:Object of class "character"
. The SQL query that represents
the operations. The function content
can get this value.
.expr
:Object of class "character"
. An array of expression
strings for columns of the table that the SQL query can be
materialized into. It is not to used by the
normal users.
.source
:Object of class "character"
. A string, the table/view name
which this SQL query is originated. It is not to used by the
normal users.
.parent
:Object of class "character"
. A string. In the SQl query it
is the part after "from". It is not to used by the
normal users.
.conn.id
:Object of class "numeric"
, an integer. The ID number of the
database
connection where .source
resides. The functions
conn.id
and conn.id<-
can get and set
this value.
.col.name
:Object of class "character"
. An array of strings. The names
of columns of the table that the SQL query can be materialized
into. The
S4 method names,db.obj-method
gets this value.
.key
:Object of class "character"
. The name of the primary key
column name in .source
. Currently only one primary key
column is
supported. This value can be set during the creation of the object
when using the function db.data.frame
. The functions
key
and key<-
can be used to get and
set this value.
.col.data_type
:Object of class "character"
. The 1D array of column data
types of the table that the SQL query can be materialized
into. This is not supposed to be used by the normal user.
.col.udt_name
:Object of class "character"
. The 1D array of column udt
names of the table that the SQL query can be materialized
into. This is
not to used by normal users.
.where
:Object of class "character"
. The condition string used in
"where" inside the SQL query.
.is.factor
:Object of class "logical"
. An array of logical values which
indicate whether each column of the table that the SQL query can
be materialized
into is a factor. This
is not to be used by the normal users.
.factor.suffix
:Object of class "character"
. An array of strings for
every column. When creating dummy columns
for a factor column, we add a random string in the names of the
dummy columns to avoid naming conflicts. So a factor column's
.factor.suffix
is a random string, otherwise it is just an
empty string. This is not to be used by the normal users. It is
used only the MADlib wrapper functions that support categorical
variables.
.factor.ref
:The value of the factor reference level for the regressions. If it is NA
, then the regressions automatically select a reference level.
.sort
:Object of class "list"
. The list contains the information
used for "order by" in the SQL query.
by: A string. The column names that are used in "order by".
order: A string, "" or "desc"
str: A string, the full "order by ..." string.
.is.agg
:logical value, whether this object represents an aggregate
operation.
.dist.by
:A string, the distribution policy for the original data table, which is used to construct this db.Rquery
object, when using Greenplum database or HAWQ. It can be character(0)
, which means the original data table is distributed randomly. Or it can be a string of column names separated by comma, which are the columns that are used in the "distributed by" when the original table was created.