Package com.j_spaces.jdbc.query
Class QueryTableData
java.lang.Object
com.j_spaces.jdbc.query.QueryTableData
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
- Since:
- 7.0
- Author:
- anna
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidcreateJoinIndex(ExpNode root) Traverse the expression root(preorder) and create a join index for given table if possiblebooleanIndicates if smart externalizable serialization should detect shared references of instances within serializtion contextbooleanexecuteSubQuery(ISpaceProxy space, Transaction txn) intgetTemplate(QueryResultTypeInternal queryResultType) booleaninthashCode()voidinit(ISpaceProxy space, Transaction txn, AbstractDMLQuery query) Fetch the entries from space that match this table conditionbooleanbooleanisJoined()voidbooleannext()voidvoidreset()voidsetAsterixSelectColumns(boolean hasAsterixSelectColumns) voidsetEntriesCursor(EntriesCursor entriesCursor) voidsetJoinCondition(ExpNode joinIndex) voidsetJoined(boolean isJoined) voidsetJoinTable(QueryTableData joinTable) voidsetJoinType(Join.JoinType _joinType) voidsetSubQuery(Query subQuery) voidsetTableCondition(ExpNode tableCondition) voidsetTypeDesc(ITypeDesc typeDesc) booleantoString()void
-
Constructor Details
-
QueryTableData
public QueryTableData() -
QueryTableData
-
-
Method Details
-
hasAsterixSelectColumns
public boolean hasAsterixSelectColumns() -
setAsterixSelectColumns
public void setAsterixSelectColumns(boolean hasAsterixSelectColumns) -
getTableName
-
getTableAlias
-
getTableIndex
public int getTableIndex() -
getTypeDesc
-
setTypeDesc
-
getJoinCondition
-
setJoinCondition
-
toString
-
hashCode
public int hashCode() -
equals
-
getCurrentEntry
- Returns:
- IEntryPacket
-
next
public boolean next()- Returns:
- true _joinTable doesn't finished , false if finished
-
reset
public void reset() -
getJoinTable
-
setJoinTable
-
getEntriesCursor
-
setEntriesCursor
-
getTableCondition
-
setTableCondition
-
isJoined
public boolean isJoined() -
setJoined
public void setJoined(boolean isJoined) -
join
-
getTemplate
-
init
Fetch the entries from space that match this table condition- Throws:
Exception
-
executeSubQuery
public IQueryResultSet<IEntryPacket> executeSubQuery(ISpaceProxy space, Transaction txn) throws Exception - Throws:
Exception
-
createJoinIndex
Traverse the expression root(preorder) and create a join index for given table if possible -
clear
public void clear() -
getSubQuery
-
setSubQuery
-
supportsDynamicProperties
public boolean supportsDynamicProperties() -
getJoinType
-
setJoinType
-
isBroadcastTable
public boolean isBroadcastTable() -
enabledSmartExternalizableWithReference
public boolean enabledSmartExternalizableWithReference()Description copied from interface:SmartExternalizableIndicates if smart externalizable serialization should detect shared references of instances within serializtion context- Specified by:
enabledSmartExternalizableWithReferencein interfaceSmartExternalizable
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-