Code example for CollectionType

Methods: getRole

0
		ignoreInitialJoin = false;
 
		Type propertyType = getPropertyType();
		if ( propertyType != null && propertyType.isCollectionType() ) {
			collectionRole = ( ( CollectionType ) propertyType ).getRole();
			collectionName = q.createNameForCollection( collectionRole );
			prepareForIndex( q );
		} 
		else { 
			columns = currentColumns();
			setType(); 
		} 
 
		//important!! 
		continuation = false;
 
	} 
 
	private void prepareForIndex(QueryTranslatorImpl q) throws QueryException {
 
Experience pair programming with AI  Get Codota for Java