congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
SavePointImpl.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.nhaarman.sqlitebuilder.impl.SavePointImpl
constructor

Best Java code snippets using com.nhaarman.sqlitebuilder.impl.SavePointImpl.<init> (Showing top 5 results out of 315)

origin: nhaarman/SQLiteBuilder

@NotNull
@Override
public FinishedStatement savePoint(@NotNull final String savePointName) {
 return new SavePointImpl(savePointName, this);
}
origin: nhaarman/SQLiteBuilder

@NotNull
@Override
public SavePoint to(@NotNull final String savePointName) {
 return new SavePointImpl(savePointName, new ToImpl(this));
}
origin: nhaarman/SQLiteBuilder

@NotNull
@Override
public SavePoint to(@NotNull final String savePointName) {
 return new SavePointImpl(savePointName, new ToImpl(this));
}
origin: nhaarman/SQLiteBuilder

 @Test
 public void previous_returnsProperItem() {
  /* Given */
  SqlPart sqlPart = mock(SqlPart.class);
  SavePointImpl savePoint = new SavePointImpl("savepoint", sqlPart);

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

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

@Test
public void prependTo_prependsProperSql() {
 /* Given */
 SavePointImpl savePoint = new SavePointImpl("savepoint", mock(SqlPart.class));
 RawSqlBuilder builder = new RawSqlBuilderImpl();
 /* When */
 savePoint.prependTo(builder);
 /* Then */
 assertThat(builder.toString(), is("SAVEPOINT savepoint"));
}
com.nhaarman.sqlitebuilder.implSavePointImpl<init>

Popular methods of SavePointImpl

  • prependTo
  • previous

Popular in Java

  • Finding current android device location
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Permission (java.security)
    Legacy security code; do not use.
  • Notification (javax.management)
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Table (org.hibernate.mapping)
    A relational table
  • Best plugins for Eclipse
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