@Test void less() { Restrictions restrictions = Restrictions.stop().less(10); Assertions.assertThat(restrictions.toString()).isEqualTo("r[\"_stop\"] < 10"); }
@Nonnull public static ColumnRestriction stop() { return new ColumnRestriction("_stop"); }
Restrictions { @Nonnull public static ColumnRestriction stop() { return new ColumnRestriction("_stop"); } }
Restrictions { @Nonnull public static ColumnRestriction stop() { return new ColumnRestriction("_stop"); } Restrictions(); }
Restrictions { @Nonnull public static ColumnRestriction stop() { return new ColumnRestriction("_stop"); } Restrictions(); @Nonnull static Restrictions and(@Nonnull final Restrictions... restrictions); @Nonnull static Restrictions or(@Nonnull final Restrictions... restrictions); @Nonnull static ColumnRestriction measurement(); @Nonnull static ColumnRestriction field(); @Nonnull static ColumnRestriction start(); @Nonnull static ColumnRestriction stop(); @Nonnull static ColumnRestriction time(); @Nonnull static ColumnRestriction value(); @Nonnull static ColumnRestriction tag(@Nonnull final String tagName); @Nonnull static ColumnRestriction column(@Nonnull final String columnName); }
Restrictions { @Nonnull public static ColumnRestriction stop() { return new ColumnRestriction("_stop"); } Restrictions(); @Nonnull static Restrictions and(@Nonnull final Restrictions... restrictions); @Nonnull static Restrictions or(@Nonnull final Restrictions... restrictions); @Nonnull static ColumnRestriction measurement(); @Nonnull static ColumnRestriction field(); @Nonnull static ColumnRestriction start(); @Nonnull static ColumnRestriction stop(); @Nonnull static ColumnRestriction time(); @Nonnull static ColumnRestriction value(); @Nonnull static ColumnRestriction tag(@Nonnull final String tagName); @Nonnull static ColumnRestriction column(@Nonnull final String columnName);  }