protected AstNode parseCreateTranslationStatement( DdlTokenStream tokens,
                                                       AstNode parentNode ) throws ParsingException {
        assert tokens != null;
        assert parentNode != null;

        markStartOfStatement(tokens);

        tokens.consume(STMT_CREATE_TRANSLATION);

        String name = parseName(tokens);

        AstNode node = nodeFactory().node(name, parentNode, TYPE_CREATE_TRANSLATION_STATEMENT);
        tokens.consume("FOR");
        node.setProperty(SOURCE_CHARACTER_SET_NAME, parseName(tokens));
        tokens.consume("TO");
        node.setProperty(TARGET_CHARACTER_SET_NAME, parseName(tokens));

        parseUntilTerminator(tokens);

        markEndOfStatement(tokens, node);

        return node;
    }
protected AstNode parseCreateTranslationStatement ( DdlTokenStream tokens , AstNode parentNode ) throws ParsingException { assert tokens != null ; assert parentNode != null ; markStartOfStatement ( tokens ) ; tokens . consume ( STMT_CREATE_TRANSLATION ) ; String name = parseName ( tokens ) ; AstNode node = nodeFactory ( ) . node ( name , parentNode , TYPE_CREATE_TRANSLATION_STATEMENT ) ; tokens . consume ( "FOR" ) ; node . setProperty ( SOURCE_CHARACTER_SET_NAME , parseName ( tokens ) ) ; tokens . consume ( "TO" ) ; node . setProperty ( TARGET_CHARACTER_SET_NAME , parseName ( tokens ) ) ; parseUntilTerminator ( tokens ) ; markEndOfStatement ( tokens , node ) ; return node ; }
Parses DDL CREATE TRANSLATION {@link AstNode} based on SQL 92 specifications.

@param tokens the {@link DdlTokenStream} representing the tokenized DDL content; may not be null
@param parentNode the parent {@link AstNode} node; may not be null
@return the parsed statement node {@link AstNode}
@throws ParsingException