@@ -655,6 +655,30 @@ public Query<T> setParameter(String alias, boolean value) {
655655 return setParameter (alias , value ? 1 : 0 );
656656 }
657657
658+ /**
659+ * Changes the parameter of the query condition for {@code property} to a new {@code value}.
660+ *
661+ * @param property Property reference from generated entity underscore class, like {@code Example_.example}.
662+ * @param value The new {@code float[]} value to use for the query condition.
663+ */
664+ public Query <T > setParameter (Property <?> property , float [] value ) {
665+ checkOpen ();
666+ nativeSetParameter (handle , property .getEntityId (), property .getId (), null , value );
667+ return this ;
668+ }
669+
670+ /**
671+ * Changes the parameter of the query condition with the matching {@code alias} to a new {@code value}.
672+ *
673+ * @param alias as defined using {@link PropertyQueryCondition#alias(String)}.
674+ * @param value The new {@code float[]} value to use for the query condition.
675+ */
676+ public Query <T > setParameter (String alias , float [] value ) {
677+ checkOpen ();
678+ nativeSetParameter (handle , 0 , 0 , alias , value );
679+ return this ;
680+ }
681+
658682 /**
659683 * Sets a parameter previously given to the {@link QueryBuilder} to new values.
660684 */
@@ -795,30 +819,6 @@ public Query<T> setParameter(String alias, byte[] value) {
795819 return this ;
796820 }
797821
798- /**
799- * Sets parameters previously given to {@link Property#nearestNeighbors(float[], int)}.
800- *
801- * @param property Property reference from generated entity underscore class, like {@code Example_.example}.
802- */
803- public Query <T > setParametersNearestNeighbors (Property <?> property , float [] queryVector , int maxResultCount ) {
804- checkOpen ();
805- nativeSetParameter (handle , property .getEntityId (), property .getId (), null , queryVector );
806- nativeSetParameter (handle , property .getEntityId (), property .getId (), null , maxResultCount );
807- return this ;
808- }
809-
810- /**
811- * Sets parameters previously given to {@link Property#nearestNeighbors(float[], int)}.
812- *
813- * @param alias as defined using {@link PropertyQueryCondition#alias(String)}.
814- */
815- public Query <T > setParametersNearestNeighbors (String alias , float [] queryVector , int maxResultCount ) {
816- checkOpen ();
817- nativeSetParameter (handle , 0 , 0 , alias , queryVector );
818- nativeSetParameter (handle , 0 , 0 , alias , maxResultCount );
819- return this ;
820- }
821-
822822 /**
823823 * Removes (deletes) all Objects matching the query
824824 *
0 commit comments