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

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

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

origin: nhaarman/SQLiteBuilder

@NotNull
public static Insert insertOrRollback() {
 return new InsertOrRollbackImpl();
}
origin: nhaarman/SQLiteBuilder

@Test
public void previous_returnsNullValue() {
 /* Given */
 InsertOrRollbackImpl insertOrRollback = new InsertOrRollbackImpl();
 /* When */
 SqlPart result = insertOrRollback.previous();
 /* Then */
 assertThat(result, is(nullValue()));
}
origin: nhaarman/SQLiteBuilder

 @Test
 public void intoDatabaseTable_returnsNotNullValue() {
  /* Given */
  InsertOrRollbackImpl insertOrRollback = new InsertOrRollbackImpl();

  /* When */
  Into result = insertOrRollback.into("my_database", "my_table");

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

@Test
public void intoTable_returnsNotNullValue() {
 /* Given */
 InsertOrRollbackImpl insertOrRollback = new InsertOrRollbackImpl();
 /* When */
 Into result = insertOrRollback.into("my_table");
 /* Then */
 assertThat(result, is(notNullValue()));
}
origin: nhaarman/SQLiteBuilder

@Test
public void prependTo_prependsProperSql() {
 /* Given */
 InsertOrRollbackImpl insertOrRollback = new InsertOrRollbackImpl();
 RawSqlBuilder builder = new RawSqlBuilderImpl();
 /* When */
 insertOrRollback.prependTo(builder);
 /* Then */
 assertThat(builder.toString(), is("INSERT OR ROLLBACK"));
}
com.nhaarman.sqlitebuilder.implInsertOrRollbackImpl<init>

Popular methods of InsertOrRollbackImpl

  • into
  • prependTo
  • previous

Popular in Java

  • Running tasks concurrently on multiple threads
  • findViewById (Activity)
  • getContentResolver (Context)
  • startActivity (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • JLabel (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top plugins for Android Studio
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