本文整理匯總了Java中org.jooq.util.JavaWriter.println方法的典型用法代碼示例。如果您正苦於以下問題:Java JavaWriter.println方法的具體用法?Java JavaWriter.println怎麽用?Java JavaWriter.println使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.jooq.util.JavaWriter
的用法示例。
在下文中一共展示了JavaWriter.println方法的13個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: generateClientGetterAndSetter
import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
protected void generateClientGetterAndSetter(JavaWriter out) {
out.println();
out.tab(1).println("private AsyncJooqSQLClient client;");
out.println();
generateSetVertxAnnotation(out);
out.tab(1).println("@Override");
out.tab(1).println("public void setClient(AsyncJooqSQLClient client) {");
out.tab(2).println("this.client = client;");
out.tab(1).println("}");
out.println();
out.tab(1).println("@Override");
out.tab(1).println("public AsyncJooqSQLClient client() {");
out.tab(2).println("return this.client;");
out.tab(1).println("}");
out.println();
}
示例2: generateVertxGetterAndSetterConfigurationMethod
import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateVertxGetterAndSetterConfigurationMethod(JavaWriter out) {
out.println();
out.tab(1).println("private io.vertx.rxjava.core.Vertx vertx;");
out.println();
generateSetVertxAnnotation(out);
out.tab(1).println("@Override");
out.tab(1).println("public void setVertx(io.vertx.core.Vertx vertx) {");
out.tab(2).println("this.vertx = new io.vertx.rxjava.core.Vertx(vertx);");
out.tab(1).println("}");
out.println();
out.tab(1).println("@Override");
out.tab(1).println("public void setVertx(io.vertx.rxjava.core.Vertx vertx) {");
out.tab(2).println("this.vertx = vertx;");
out.tab(1).println("}");
out.println();
out.tab(1).println("@Override");
out.tab(1).println("public io.vertx.rxjava.core.Vertx vertx() {");
out.tab(2).println("return this.vertx;");
out.tab(1).println("}");
out.println();
}
示例3: generateVertxGetterAndSetterConfigurationMethod
import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateVertxGetterAndSetterConfigurationMethod(JavaWriter out) {
out.println();
out.tab(1).println("private io.vertx.reactivex.core.Vertx vertx;");
out.println();
generateSetVertxAnnotation(out);
out.tab(1).println("@Override");
out.tab(1).println("public void setVertx(io.vertx.reactivex.core.Vertx vertx) {");
out.tab(2).println("this.vertx = vertx;");
out.tab(1).println("}");
out.println();
out.tab(1).println("@Override");
out.tab(1).println("public io.vertx.reactivex.core.Vertx vertx() {");
out.tab(2).println("return this.vertx;");
out.tab(1).println("}");
out.println();
}
示例4: generateDAOImports
import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDAOImports(JavaWriter out) {
out.println("import io.reactivex.Completable;");
out.println("import io.reactivex.Observable;");
out.println("import io.reactivex.Single;");
out.println("import io.github.jklingsporn.vertx.jooq.async.rx.util.RXTool;");
}
示例5: generateDAOImports
import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDAOImports(JavaWriter out) {
out.println("import io.reactivex.Completable;");
out.println("import io.reactivex.Observable;");
out.println("import io.reactivex.Single;");
out.println("import io.github.jklingsporn.vertx.jooq.async.rx.util.RXTool;");
out.println("import io.github.jklingsporn.vertx.jooq.async.rx.AsyncJooqSQLClient;");
}
示例6: renderInsertReturningOverwrite
import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void renderInsertReturningOverwrite(TableDefinition table, JavaWriter out, String reason) {
out.println();
out.tab(1).println("@Override");
out.tab(1).println("public void insertReturningPrimaryAsync(%s object, Handler<AsyncResult<%s>> resultHandler){",
out.ref(getStrategy().getFullJavaClassName(table, GeneratorStrategy.Mode.POJO)),
getKeyType(table.getPrimaryKey()));
out.tab(2).println("throw new UnsupportedOperationException(\"%s\");",reason);
out.tab(1).println("}");
out.println();
}
示例7: generateDAOImports
import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDAOImports(JavaWriter out) {
out.println("import io.reactivex.Completable;");
out.println("import io.reactivex.Observable;");
out.println("import io.reactivex.Single;");
out.println("import io.github.jklingsporn.vertx.jooq.rx.util.RXTool;");
}
示例8: generateDAOImports
import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDAOImports(JavaWriter out) {
out.println("import java.util.concurrent.CompletableFuture;");
out.println("import io.github.jklingsporn.vertx.jooq.async.future.AsyncJooqSQLClient;");
}
示例9: generateDAOImports
import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDAOImports(JavaWriter out) {
out.println("import java.util.concurrent.CompletableFuture;");
out.println("import io.github.jklingsporn.vertx.jooq.future.async.impl.FutureTool;");
}
示例10: generateDAOImports
import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDAOImports(JavaWriter out) {
out.println("import io.vertx.core.Handler;");
out.println("import io.vertx.core.AsyncResult;");
out.println("import io.github.jklingsporn.vertx.jooq.async.classic.AsyncJooqSQLClient;");
}
示例11: generateDAOImports
import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDAOImports(JavaWriter out) {
out.println("import io.vertx.core.Handler;");
out.println("import io.vertx.core.AsyncResult;");
}
示例12: generateDaoClassJavadoc
import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDaoClassJavadoc(TableDefinition table, JavaWriter out) {
super.generateDaoClassJavadoc(table, out);
out.ref(Component.class);
out.println("@Component");
}
示例13: generateDAOImports
import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDAOImports(JavaWriter out) {
out.println("import java.util.concurrent.CompletableFuture;");
out.println("import io.github.jklingsporn.vertx.jooq.future.util.FutureTool;");
}