Examples of family()


Examples of org.jooq.SQLDialect.family()

        @SuppressWarnings({ "unchecked", "rawtypes" })
        private final Field<T> getIntervalExpression(Configuration configuration) {
            SQLDialect dialect = configuration.dialect();
            int sign = (operator == ADD) ? 1 : -1;

            switch (dialect.family()) {
                case CUBRID:
                case MARIADB:
                case MYSQL: {
                    Interval interval = rhsAsInterval();
View Full Code Here

Examples of org.jooq.SQLDialect.family()

    private final QueryPartInternal delegate(Configuration configuration) {
        SQLDialect dialect = configuration.dialect();

        // Regular comparison predicate simulation
        if (asList(EQUALS, NOT_EQUALS).contains(comparator) &&
            asList(DERBY, FIREBIRD, SQLITE).contains(dialect.family())) {
            List<Condition> conditions = new ArrayList<Condition>();

            Field<?>[] leftFields = left.fields();
            Field<?>[] rightFields = right.fields();
View Full Code Here

Examples of org.jooq.SQLDialect.family()

            return (QueryPartInternal) result;
        }

        // Ordering comparison predicate simulation
        else if (asList(GREATER, GREATER_OR_EQUAL, LESS, LESS_OR_EQUAL).contains(comparator) &&
                 asList(DERBY, CUBRID, FIREBIRD, SQLITE).contains(dialect.family())) {

            // The order component of the comparator (stripping the equal component)
            Comparator order
                = (comparator == GREATER) ? GREATER
                : (comparator == GREATER_OR_EQUAL) ? GREATER
View Full Code Here

Examples of org.jooq.SQLDialect.family()

                else {
                    ctx.statement().setBigDecimal(ctx.index(), (BigDecimal) value);
                }
            }
            else if (actualType == BigInteger.class) {
                if (asList(SQLITE).contains(dialect.family())) {
                    ctx.statement().setString(ctx.index(), value.toString());
                }
                else {
                    ctx.statement().setBigDecimal(ctx.index(), new BigDecimal((BigInteger) value));
                }
View Full Code Here

Examples of org.jooq.SQLDialect.family()

                xxxx
                xx [/pro] */
                ctx.statement().setBigDecimal(ctx.index(), new BigDecimal(value.toString()));
            }
            else if (actualType == UUID.class) {
                switch (dialect.family()) {

                    // [#1624] Some JDBC drivers natively support the
                    // java.util.UUID data type
                    case H2:
                    case POSTGRES: {
View Full Code Here

Examples of org.jooq.SQLDialect.family()

                xxxx
                xx [/pro] */
                    ctx.statement().setBoolean(ctx.index(), (Boolean) value);
            }
            else if (actualType == BigDecimal.class) {
                if (asList(SQLITE).contains(dialect.family())) {
                    ctx.statement().setString(ctx.index(), value.toString());
                }
                else {
                    ctx.statement().setBigDecimal(ctx.index(), (BigDecimal) value);
                }
View Full Code Here

Examples of org.jrebirth.af.core.resource.font.FamilyFont.family()

        Assert.assertNotNull(font);

        final String[] names = font.getName().split(" ");
        int i = 0;
        assertThat(names[i++]).isEqualToIgnoringCase(ff.family());

        if (FontWeight.NORMAL != ff.weight()) {
            assertThat(names[i++]).isEqualToIgnoringCase(ff.weight().name());
        }
View Full Code Here

Examples of org.opengis.util.CodeList.family()

    String[] createComboList() {
        if (!(CodeList.class.isAssignableFrom(type.getType().getBinding())))
            return null;
        CodeList list = (CodeList) type.getDefaultValue();
        CodeList[] family = list.family();
        String[] names = new String[family.length];
        for( int i = 0; i < names.length; i++ ) {
            names[i] = family[i].name();
        }
View Full Code Here

Examples of org.picketlink.identity.federation.core.interfaces.SecurityTokenProvider.family()

                // create and initialize the token provider.
                SecurityTokenProvider tokenProvider = WSTrustServiceFactory.getInstance().createTokenProvider(
                        provider.getProviderClass(), properties);
                // token providers can be keyed by the token type and by token element + namespace.
                this.tokenProviders.put(provider.getTokenType(), tokenProvider);
                String tokenElementAndNS = tokenProvider.family() + "$" + provider.getTokenElement() + "$"
                        + provider.getTokenElementNS();
                this.tokenProviders.put(tokenElementAndNS, tokenProvider);
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.