private TraversedAssoOrManyAssoRef( AssociationNotNullPredicate<?> spec ) { this( spec.association(), null ); }
/** * Create a new NOT NULL specification for an Association. * * @param <T> Association type * @param association an Association * * @return a new NOT NULL specification for an Association. */ public static <T> AssociationNotNullPredicate<T> isNotNull( Association<T> association ) { return new AssociationNotNullPredicate<>( association( association ) ); }
/** * Create a new NOT NULL specification for an Association. * * @param <T> Association type * @param association an Association * * @return a new NOT NULL specification for an Association. */ public static <T> AssociationNotNullPredicate<T> isNotNull( Association<T> association ) { return new AssociationNotNullPredicate<>( association( association ) ); }
private void processNotNullPredicate( final AssociationNotNullPredicate<?> predicate, StringBuilder builder ) { final String value = triples.addTripleAssociation( predicate.association(), true ).value(); builder.append( format( "(bound(%s))", value ) ); }
private void processNotNullPredicate( final AssociationNotNullPredicate<?> predicate, StringBuilder builder ) { final String value = triples.addTripleAssociation( predicate.association(), true ).value(); builder.append( format( "(bound(%s))", value ) ); }
private void processAssociationNotNullSpecification( BoolQueryBuilder queryBuilder, AssociationNotNullPredicate<?> spec ) { LOGGER.trace( "Processing AssociationNotNullSpecification {}", spec ); queryBuilder.must( existsQuery( spec.association().toString() + ".identity" ) ); }