fastmodel-transform/fastmodel-transform-adbpg/src/main/java/com/aliyun/fastmodel/transform/adbpg/parser/AdbPostgreSQLAstBuilder.java [1016:1037]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private List<Property> buildProperties(CreatestmtContext ctx) {
        if (ctx.optwith() == null) {
            return Collections.emptyList();
        }
        if (ctx.optwith().reloptions() == null) {
            return Collections.emptyList();
        }
        if (ctx.optwith().reloptions().reloption_list() == null) {
            return Collections.emptyList();
        }
        if (CollectionUtils.isEmpty(ctx.optwith().reloptions().reloption_list().reloption_elem())) {
            return Collections.emptyList();
        }

        List<Property> properties = new ArrayList<>();
        List<Reloption_elemContext> reloptionElemContexts = ctx.optwith().reloptions().reloption_list().reloption_elem();
        reloptionElemContexts.forEach(reloptionElemContext -> {
            Property property = (Property)visit(reloptionElemContext);
            properties.add(property);
        });
        return properties;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



fastmodel-transform/fastmodel-transform-hologres/src/main/java/com/aliyun/fastmodel/transform/hologres/parser/HologresAstBuilder.java [987:1008]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private List<Property> buildProperties(CreatestmtContext ctx) {
        if (ctx.optwith() == null) {
            return Collections.emptyList();
        }
        if (ctx.optwith().reloptions() == null) {
            return Collections.emptyList();
        }
        if (ctx.optwith().reloptions().reloption_list() == null) {
            return Collections.emptyList();
        }
        if (CollectionUtils.isEmpty(ctx.optwith().reloptions().reloption_list().reloption_elem())) {
            return Collections.emptyList();
        }

        List<Property> properties = new ArrayList<>();
        List<Reloption_elemContext> reloptionElemContexts = ctx.optwith().reloptions().reloption_list().reloption_elem();
        reloptionElemContexts.forEach(reloptionElemContext -> {
            Property property = (Property)visit(reloptionElemContext);
            properties.add(property);
        });
        return properties;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



