Package x.data.bigquery
Class SkyDataBQSupport
java.lang.Object
x.data.bigquery.SkyDataBQSupport
- All Implemented Interfaces:
Serializable,SkyDataEntity
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSetup with condition for AND.Setup with condition withOR LIKE flag.and(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4) Setup and condition IN with 4 parameters.and(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4, Object entityValue5, Object entityValue6, Object entityValue7, Object entityValue8) Setup and condition IN with 8 parameters.Setup and condition and 2 operations.Setup with condition and operation.asc()ASC order sort.voidCheck Condition object.voidClear value before new call.static voidOpen SQL SkyDatabase connection.static voidOpen SQL SkyDatabase connection.voidvoidcreateIndex(String columnName) Create index by default Model.voidCreate table by default Model.voidDelete default model class data from database.desc()ASC order sort.voidDrop table by default Model.execute()Return query result relate with setup parameter.execute1()Return query result just only one record (first object record).Find set of default model class data from database by CQL.Find set of default model class data from database by CQL.Check Condition object.getDataModel(String dataModel) Check Condition object.getModel()getName()Get object name.booleanxxxbooleanxxxbooleanxxxSet id to SkyDataEntity for load function.Set id to SkyDataEntity for load function.in()xxxxxxSetup Index object.load()Load default model class data from database relate with setup id.Load any model class data from database.Load any model class data from database.loadAll()loadAll.max(int i) Set max result.Get Data ModelGet System Data ModelSetup with condition for OR.Setup with condition withOR LIKE flag.or(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4) Setup or condition IN with 4 parameters.or(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4, Object entityValue5, Object entityValue6, Object entityValue7, Object entityValue8) Setup with condition IN with 8 parameters.Setup or condition and 2 operations.Setup with condition and operation OR.Setup order condition.Query Like Condition.Query Like Condition.Return query string.voidreset()Clear value before new call.voidSave default model class data to database.Setup select object. !!!!!!!!!!Setup sort type.sys()xxxSetup with 2 condition.Setup with 3 condition with LIKE flag.with(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4) Setup with condition IN with 4 parameters.with(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4, Object entityValue5, Object entityValue6, Object entityValue7, Object entityValue8) Setup with condition IN with 8 parameters.Setup with 4 condition and 2 operations.Setup with 3 condition and operation.Setup with condition for AND.Setup with condition withOR LIKE flag.withAND(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4) Setup withAND condition IN with 4 parameters.withAND(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4, Object entityValue5, Object entityValue6, Object entityValue7, Object entityValue8) Setup withAND condition IN with 8 parameters.Setup withAND condition and 2 operations.Setup with condition and operation withAND.Setup with condition for OR.Setup with condition withOR LIKE flag.withOR(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4) Setup withOR condition IN with 4 parameters.withOR(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4, Object entityValue5, Object entityValue6, Object entityValue7, Object entityValue8) Setup withOR condition IN with 8 parameters.Setup withOR condition and 2 operations.Setup with condition and operation withOR.
-
Constructor Details
-
SkyDataBQSupport
public SkyDataBQSupport()
-
-
Method Details
-
save
Save default model class data to database.- Specified by:
savein interfaceSkyDataEntity- Throws:
Exception
-
delete
Delete default model class data from database.- Specified by:
deletein interfaceSkyDataEntity- Throws:
Exception
-
load
Load any model class data from database.- Specified by:
loadin interfaceSkyDataEntity- Throws:
Exception
-
load
Load any model class data from database.- Specified by:
loadin interfaceSkyDataEntity- Throws:
Exception
-
find
Find set of default model class data from database by CQL.- Specified by:
findin interfaceSkyDataEntity- Throws:
Exception
-
find
Find set of default model class data from database by CQL.- Specified by:
findin interfaceSkyDataEntity- Throws:
Exception
-
max
Set max result.- Specified by:
maxin interfaceSkyDataEntity- Throws:
Exception
-
checkObject
Check Condition object.- Throws:
Exception
-
getDataModel
Check Condition object.- Throws:
Exception
-
getDataModel
Check Condition object.- Throws:
Exception
-
select
Setup select object. !!!!!!!!!! In QueryRequest CAN'T USE select method- Specified by:
selectin interfaceSkyDataEntity- Throws:
Exception
-
index
Setup Index object.- Specified by:
indexin interfaceSkyDataEntity- Throws:
Exception
-
with
Setup with 2 condition. Create DynamoDB Query Form Equal Compare AttributesNames = #entityName,entityName AttributeValues = :entityName,entityValue Expression = #entityName=:entityName (and #entityName=:entityName)- Specified by:
within interfaceSkyDataEntity- Throws:
Exception
-
with
Setup with 3 condition with LIKE flag. Create DynamoDB Query Form Like Compare AttributesNames = #entityName,entityName AttributeValues = :entityName,entityValue Expression Not Like = #entityNam=:entityNam (and #entityName=:entityNam) Begin Like = begins_with(#entityNam, :entityNam) (and begins_with(#entityNam, :entityNam)) Contain Like = contains(#entityNam, :entityNam) (and contains(#entityNam, :entityNam))- Specified by:
within interfaceSkyDataEntity- Throws:
Exception
-
with
Setup with 3 condition and operation. Create DynamoDB Query Form Operation Compare- Specified by:
within interfaceSkyDataEntity- Throws:
Exception
-
with
public SkyDataEntity with(String entityName, Object entityValue1, Object entityValue2, String operation) throws Exception Setup with 4 condition and 2 operations. Create DynamoDB Query Form 2 Entity Compare (Between) AttributesNames = #entityName,entityName AttributeValues = :entityName1=entityValue1, :entityName2=entityValue2 Expression = #entityName between :entityName1 and :entityName2 (and #entityName between :entityName1 and :entityName2)- Specified by:
within interfaceSkyDataEntity- Throws:
Exception
-
with
public SkyDataEntity with(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4) throws Exception Setup with condition IN with 4 parameters. Create DynamoDB Query Form 4 Value exist (In) AttributesNames = #entityName,entityName AttributeValues = :entityName1=entityValue1, :entityName2=entityValue2, :entityName3=entityValue3, :entityName4=entityValue4 Expression = #entityName in(:entityName1, :entityName2, :entityName3, :entityName4) (and in(:entityName1, :entityName2, :entityName3, :entityName4))- Specified by:
within interfaceSkyDataEntity- Throws:
Exception
-
with
public SkyDataEntity with(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4, Object entityValue5, Object entityValue6, Object entityValue7, Object entityValue8) throws Exception Setup with condition IN with 8 parameters. Create DynamoDB Query Form 8 Value exist (In) AttributesNames = #entityName,entityName AttributeValues = :entityName1=entityValue1, :entityName2=entityValue2, :entityName3=entityValue3, :entityName4=entityValue4 Expression = #entityName in(:entityName1, :entityName2, :entityName3, :entityName4) (and in(:entityName1, :entityName2, :entityName3, :entityName4))- Specified by:
within interfaceSkyDataEntity- Throws:
Exception
-
withOR
Setup with condition for OR.- Specified by:
withORin interfaceSkyDataEntity- Throws:
Exception
-
or
Setup with condition for OR.- Specified by:
orin interfaceSkyDataEntity- Throws:
Exception
-
withOR
public SkyDataEntity withOR(String entityName, Object entityValue, Boolean likeFlag) throws Exception Setup with condition withOR LIKE flag.- Specified by:
withORin interfaceSkyDataEntity- Throws:
Exception
-
or
Setup with condition withOR LIKE flag.- Specified by:
orin interfaceSkyDataEntity- Throws:
Exception
-
withOR
public SkyDataEntity withOR(String entityName, Object entityValue, String operation) throws Exception Setup with condition and operation withOR.- Specified by:
withORin interfaceSkyDataEntity- Throws:
Exception
-
or
Setup with condition and operation OR.- Specified by:
orin interfaceSkyDataEntity- Throws:
Exception
-
withOR
public SkyDataEntity withOR(String entityName, Object entityValue1, Object entityValue2, String operation) throws Exception Setup withOR condition and 2 operations.- Specified by:
withORin interfaceSkyDataEntity- Throws:
Exception
-
or
public SkyDataEntity or(String entityName, Object entityValue1, Object entityValue2, String operation) throws Exception Setup or condition and 2 operations.- Specified by:
orin interfaceSkyDataEntity- Throws:
Exception
-
withOR
public SkyDataEntity withOR(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4) throws Exception Setup withOR condition IN with 4 parameters.- Specified by:
withORin interfaceSkyDataEntity- Throws:
Exception
-
or
public SkyDataEntity or(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4) throws Exception Setup or condition IN with 4 parameters.- Specified by:
orin interfaceSkyDataEntity- Throws:
Exception
-
withOR
public SkyDataEntity withOR(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4, Object entityValue5, Object entityValue6, Object entityValue7, Object entityValue8) throws Exception Setup withOR condition IN with 8 parameters.- Specified by:
withORin interfaceSkyDataEntity- Throws:
Exception
-
or
public SkyDataEntity or(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4, Object entityValue5, Object entityValue6, Object entityValue7, Object entityValue8) throws Exception Setup with condition IN with 8 parameters. Create DynamoDB Query Form 8 Value exist (In) AttributesNames = #entityName,entityName AttributeValues = :entityName1=entityValue1, :entityName2=entityValue2, :entityName3=entityValue3, :entityName4=entityValue4 Expression = #entityName in(:entityName1, :entityName2, :entityName3, :entityName4) (and in(:entityName1, :entityName2, :entityName3, :entityName4))- Specified by:
orin interfaceSkyDataEntity- Throws:
Exception
-
withAND
Setup with condition for AND.- Specified by:
withANDin interfaceSkyDataEntity- Throws:
Exception
-
and
Setup with condition for AND.- Specified by:
andin interfaceSkyDataEntity- Throws:
Exception
-
withAND
public SkyDataEntity withAND(String entityName, Object entityValue, Boolean likeFlag) throws Exception Setup with condition withOR LIKE flag.- Specified by:
withANDin interfaceSkyDataEntity- Throws:
Exception
-
and
Setup with condition withOR LIKE flag.- Specified by:
andin interfaceSkyDataEntity- Throws:
Exception
-
withAND
public SkyDataEntity withAND(String entityName, Object entityValue, String operation) throws Exception Setup with condition and operation withAND.- Specified by:
withANDin interfaceSkyDataEntity- Throws:
Exception
-
and
Setup with condition and operation.- Specified by:
andin interfaceSkyDataEntity- Throws:
Exception
-
withAND
public SkyDataEntity withAND(String entityName, Object entityValue1, Object entityValue2, String operation) throws Exception Setup withAND condition and 2 operations.- Specified by:
withANDin interfaceSkyDataEntity- Throws:
Exception
-
and
public SkyDataEntity and(String entityName, Object entityValue1, Object entityValue2, String operation) throws Exception Setup and condition and 2 operations.- Specified by:
andin interfaceSkyDataEntity- Throws:
Exception
-
withAND
public SkyDataEntity withAND(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4) throws Exception Setup withAND condition IN with 4 parameters.- Specified by:
withANDin interfaceSkyDataEntity- Throws:
Exception
-
and
public SkyDataEntity and(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4) throws Exception Setup and condition IN with 4 parameters.- Specified by:
andin interfaceSkyDataEntity- Throws:
Exception
-
withAND
public SkyDataEntity withAND(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4, Object entityValue5, Object entityValue6, Object entityValue7, Object entityValue8) throws Exception Setup withAND condition IN with 8 parameters.- Specified by:
withANDin interfaceSkyDataEntity- Throws:
Exception
-
and
public SkyDataEntity and(String entityName, Object entityValue1, Object entityValue2, Object entityValue3, Object entityValue4, Object entityValue5, Object entityValue6, Object entityValue7, Object entityValue8) throws Exception Setup and condition IN with 8 parameters.- Specified by:
andin interfaceSkyDataEntity- Throws:
Exception
-
order
Setup order condition.- Specified by:
orderin interfaceSkyDataEntity- Throws:
Exception
-
q
Query Like Condition.- Specified by:
qin interfaceSkyDataEntity- Throws:
Exception
-
qlike
Query Like Condition.- Specified by:
qlikein interfaceSkyDataEntity- Throws:
Exception
-
sort
Setup sort type.- Specified by:
sortin interfaceSkyDataEntity- Throws:
Exception
-
asc
ASC order sort.- Specified by:
ascin interfaceSkyDataEntity- Throws:
Exception
-
desc
ASC order sort.- Specified by:
descin interfaceSkyDataEntity- Throws:
Exception
-
loadAll
loadAll.- Specified by:
loadAllin interfaceSkyDataEntity- Throws:
Exception
-
execute
Return query result relate with setup parameter.- Specified by:
executein interfaceSkyDataEntity- Throws:
Exception
-
execute1
Return query result just only one record (first object record).- Specified by:
execute1in interfaceSkyDataEntity- Throws:
Exception
-
queryString
Return query string.- Specified by:
queryStringin interfaceSkyDataEntity- Throws:
Exception
-
clearValue
public void clearValue()Clear value before new call. -
reset
public void reset()Clear value before new call.- Specified by:
resetin interfaceSkyDataEntity
-
createTable
Create table by default Model.- Specified by:
createTablein interfaceSkyDataEntity- Throws:
Exception
-
createIndex
Create index by default Model.- Throws:
Exception
-
dropTable
Drop table by default Model.- Specified by:
dropTablein interfaceSkyDataEntity- Throws:
Exception
-
in
- Specified by:
inin interfaceSkyDataEntity
-
in
xxx -
modelx
Get System Data Model- Specified by:
modelxin interfaceSkyDataEntity
-
model
Get Data Model- Specified by:
modelin interfaceSkyDataEntity
-
getModel
- Specified by:
getModelin interfaceSkyDataEntity- Throws:
Exception
-
in
xxx- Specified by:
inin interfaceSkyDataEntity
-
sys
xxx- Specified by:
sysin interfaceSkyDataEntity
-
id
Set id to SkyDataEntity for load function.- Specified by:
idin interfaceSkyDataEntity- Throws:
Exception
-
id
Set id to SkyDataEntity for load function.- Specified by:
idin interfaceSkyDataEntity- Throws:
Exception
-
load
Load default model class data from database relate with setup id.- Specified by:
loadin interfaceSkyDataEntity- Throws:
Exception
-
getName
Get object name.- Throws:
Exception
-
haveReadRight
public boolean haveReadRight()xxx -
haveUpdateRight
public boolean haveUpdateRight()xxx -
haveDeleteRight
public boolean haveDeleteRight()xxx -
createIndex
- Specified by:
createIndexin interfaceSkyDataEntity- Throws:
Exception
-
addIndex
- Specified by:
addIndexin interfaceSkyDataEntity- Throws:
Exception
-
connect
Open SQL SkyDatabase connection. -
connect
Open SQL SkyDatabase connection. -
listTables
- Specified by:
listTablesin interfaceSkyDataEntity- Throws:
Exception
-