/** * Create a new NOT NULL specification for a Property. * * @param <T> Property type * @param property a Property * * @return a new NOT NULL specification for a Property. */ public static <T> PropertyNotNullPredicate<T> isNotNull( Property<T> property ) { return new PropertyNotNullPredicate<>( property( property ) ); }
private void processNotNullPredicate( final PropertyNotNullPredicate<?> predicate, StringBuilder builder ) { final String value = triples.addTriple( predicate.property(), true ).value(); builder.append( format( "(bound(%s))", value ) ); }
protected QueryBuilder processPropertyNotNullPredicate( PropertyNotNullPredicate<?> predicate, boolean negationActive, SQLVendor vendor, BooleanExpression entityTypeCondition ) { return this.singleQuery( predicate, predicate.property(), null, null, negationActive, vendor, entityTypeCondition, new PropertyNullWhereClauseProcessor( this._state, vendor, predicate.property(), !negationActive ) ); }
private void processNotNullPredicate( final PropertyNotNullPredicate<?> predicate, StringBuilder builder ) { final String value = triples.addTriple( predicate.property(), true ).value(); builder.append( format( "(bound(%s))", value ) ); }
/** * Create a new NOT NULL specification for a Property. * * @param <T> Property type * @param property a Property * * @return a new NOT NULL specification for a Property. */ public static <T> PropertyNotNullPredicate<T> isNotNull( Property<T> property ) { return new PropertyNotNullPredicate<>( property( property ) ); }
private void processPropertyNotNullSpecification( BoolQueryBuilder queryBuilder, PropertyNotNullPredicate<?> spec ) { LOGGER.trace( "Processing PropertyNotNullSpecification {}", spec ); queryBuilder.must( existsQuery( spec.property().toString() ) ); }