public class OdsCreate
extends java.lang.Object
| Constructor and Description |
|---|
OdsCreate() |
| Modifier and Type | Method and Description |
|---|---|
static AIDNameUnitId |
createAIDNameUnitId(T_LONGLONG aid,
java.lang.String aaName)
Create a AIDNameUnitId structure all fields
|
static AIDNameValueSeqUnitId |
createAIDNameValueSeqUnitId(T_LONGLONG aid,
java.lang.String aaName,
int noRows)
Create a AIDNameValueSeqUnitId structure all fields
|
static NameValueSeqUnit |
createNameValueSeqUnit(java.lang.String name,
java.lang.String unit,
int noRows)
Create a NameValueSeqUnit, set the flags to valid.
|
static NameValueUnit |
createNameValueUnit(java.lang.String valName)
Create a NameValueUnit, all fields are initialized.
|
static NameValueUnit |
createNameValueUnit(java.lang.String valName,
java.lang.String unit)
Create a NameValueUnit, all fields are initialized.
|
static QueryStructure |
createQueryStructure()
Create an empty QueryStructure, all fields are initialized.
|
static QueryStructureExt |
createQueryStructureExt()
Create an empty QueryStructureExt, all fields are initialized.
|
static SelAIDNameUnitId |
createSelAIDNameUnitId(T_LONGLONG aid,
java.lang.String aaName)
Create a SelAIDNameUnitId structure all fields, the aggregate function is NONE.
|
static SelAIDNameUnitId |
createSelAIDNameUnitId(T_LONGLONG aid,
java.lang.String aaName,
AggrFunc aggr)
Create a SelAIDNameUnitId structure all fields
|
static SelOrder |
createSelOrder(T_LONGLONG aid,
java.lang.String name)
Create SelOrder for given attribute of element, sorting is ascending
|
static SelValue |
createSelValue(ApplicationElement ae,
java.lang.String aaName,
SelOpcode oper)
Create a SelValue structure all fields are filled without the value of
the TS_Union.
|
static SelValue |
createSelValue(T_LONGLONG aid,
java.lang.String aaName,
SelOpcode oper)
Create a SelValue structure all fields are filled without the value of
the TS_Union.
|
static SelValueExt |
createSelValueExt(T_LONGLONG aid,
java.lang.String aaName,
SelOpcode oper)
Create a SelValueExt structure all fields are filled without the value of
the TS_Union.
|
static TS_UnionSeq |
createTS_UnionSeq(int datatype,
int noRows)
Create a sequence of values for the given single value datatype.
|
static TS_ValueSeq |
createTS_ValueSeq(int datatype,
int noRows)
Create a sequence of values for the given single value datatype.
|
public static SelValue createSelValue(T_LONGLONG aid, java.lang.String aaName, SelOpcode oper)
aid - the application element IdaaName - the attribute nameoper - the operationpublic static SelValue createSelValue(ApplicationElement ae, java.lang.String aaName, SelOpcode oper) throws AoException
ae - the application elementaaName - the attribute nameoper - the operationthe - occurring AoExceptionAoExceptionpublic static AIDNameUnitId createAIDNameUnitId(T_LONGLONG aid, java.lang.String aaName)
aid - the application element IdaaName - the attribute namepublic static AIDNameValueSeqUnitId createAIDNameValueSeqUnitId(T_LONGLONG aid, java.lang.String aaName, int noRows)
aid - the application element IdaaName - the attribute namenoRows - the number of rows in the Value sequencepublic static SelValueExt createSelValueExt(T_LONGLONG aid, java.lang.String aaName, SelOpcode oper)
aid - the application element IdaaName - the attribute nameoper - the operationpublic static SelAIDNameUnitId createSelAIDNameUnitId(T_LONGLONG aid, java.lang.String aaName)
aid - the application element IdaaName - the attribute namepublic static SelAIDNameUnitId createSelAIDNameUnitId(T_LONGLONG aid, java.lang.String aaName, AggrFunc aggr)
aid - the application element IdaaName - the attribute nameaggr - the aggregate function.public static QueryStructure createQueryStructure()
public static QueryStructureExt createQueryStructureExt()
public static NameValueUnit createNameValueUnit(java.lang.String valName)
valName - the name of the valuepublic static NameValueUnit createNameValueUnit(java.lang.String valName, java.lang.String unit)
valName - the name of the valueunit - the unitpublic static TS_ValueSeq createTS_ValueSeq(int datatype, int noRows)
datatype - the single value datatype.noRows - the number of values to be generated.public static TS_UnionSeq createTS_UnionSeq(int datatype, int noRows)
datatype - the single value datatype.noRows - the number of values to be generated.public static NameValueSeqUnit createNameValueSeqUnit(java.lang.String name, java.lang.String unit, int noRows)
name - name of the values.unit - name of the unitnoRows - number of rows.public static SelOrder createSelOrder(T_LONGLONG aid, java.lang.String name)
aid - the element Idname - the name of the attribute