congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
AsImpl
Code IndexAdd Tabnine to your IDE (free)

How to use
AsImpl
in
com.nhaarman.sqlitebuilder.impl

Best Java code snippets using com.nhaarman.sqlitebuilder.impl.AsImpl (Showing top 3 results out of 315)

origin: nhaarman/SQLiteBuilder

 @NotNull
 @Override
 public As as(@NotNull final FinishedSelectStatement select) {
  return new AsImpl(select, this);
 }
}
origin: nhaarman/SQLiteBuilder

 @Test
 public void previous_returnsProperItem() {
  /* Given */
  SqlPart sqlPart = mock(SqlPart.class);
  AsImpl as = new AsImpl(mock(FinishedSelectStatement.class), sqlPart);

  /* When */
  SqlPart result = as.previous();

  /* Then */
  assertThat(result, is(sqlPart));
 }
}
origin: nhaarman/SQLiteBuilder

@Test
public void prependTo_prependsProperSql() {
 /* Given */
 AsImpl as = new AsImpl(select().from("my_table"), mock(SqlPart.class));
 RawSqlBuilder builder = new RawSqlBuilderImpl();
 /* When */
 as.prependTo(builder);
 /* Then */
 assertThat(builder.toString(), is("AS SELECT * FROM my_table"));
}
com.nhaarman.sqlitebuilder.implAsImpl

Most used methods

  • <init>
  • prependTo
  • previous

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • scheduleAtFixedRate (Timer)
  • setScale (BigDecimal)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • JLabel (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now