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

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

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

origin: nhaarman/SQLiteBuilder

@NotNull
public static Drop drop() {
 return new DropImpl();
}
origin: nhaarman/SQLiteBuilder

@NotNull
@Override
public DropTable table(@NotNull final String tableName) {
 return table(null, tableName);
}
origin: nhaarman/SQLiteBuilder

@NotNull
@Override
public DropTableIfExists tableIfExists(@NotNull final String tableName) {
 return tableIfExists(null, tableName);
}
origin: nhaarman/SQLiteBuilder

@Test
public void table_databaseNameAndTableName_returnsNotNullValue() {
 /* Given */
 DropImpl drop = new DropImpl();
 /* When */
 DropTable result = drop.table("my_database", "my_table");
 /* Then */
 assertThat(result, is(notNullValue()));
}
origin: nhaarman/SQLiteBuilder

@Test
public void tableIfExists_tableName_returnsNotNullValue() {
 /* Given */
 DropImpl drop = new DropImpl();
 /* When */
 DropTableIfExists result = drop.tableIfExists("my_table");
 /* Then */
 assertThat(result, is(notNullValue()));
}
origin: nhaarman/SQLiteBuilder

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

@Test
public void prependTo_prependsProperSql() {
 /* Given */
 DropImpl drop = new DropImpl();
 RawSqlBuilder builder = new RawSqlBuilderImpl();
 /* When */
 drop.prependTo(builder);
 /* Then */
 assertThat(builder.toString(), is("DROP"));
}
origin: nhaarman/SQLiteBuilder

@Test
public void table_tableName_returnsNotNullValue() {
 /* Given */
 DropImpl drop = new DropImpl();
 /* When */
 DropTable result = drop.table("my_table");
 /* Then */
 assertThat(result, is(notNullValue()));
}
origin: nhaarman/SQLiteBuilder

 @Test
 public void tableIfExists_databaseNameAndTableName_returnsNotNullValue() {
  /* Given */
  DropImpl drop = new DropImpl();

  /* When */
  DropTableIfExists result = drop.tableIfExists("my_database", "my_table");

  /* Then */
  assertThat(result, is(notNullValue()));
 }
}
com.nhaarman.sqlitebuilder.implDropImpl

Most used methods

  • <init>
  • table
  • tableIfExists
  • prependTo
  • previous

Popular in Java

  • Start an intent from android
  • onCreateOptionsMenu (Activity)
  • onRequestPermissionsResult (Fragment)
  • runOnUiThread (Activity)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Top Vim plugins
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