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

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

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

origin: nhaarman/SQLiteBuilder

@NotNull
public static Create create() {
 return new CreateImpl();
}
origin: nhaarman/SQLiteBuilder

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

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

 @Test
 public void tableIfNotExists_databaseAndTable_returnsNotNullValue() {
   /* Given */
  CreateImpl create = new CreateImpl();

  /* When */
  CreateTableIfNotExists result = create.tableIfNotExists("database", "table");

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

@Test
public void table_table_returnsNotNullValue() {
  /* Given */
 CreateImpl create = new CreateImpl();
 /* When */
 CreateTable result = create.table("table");
 /* Then */
 assertThat(result, is(notNullValue()));
}
origin: nhaarman/SQLiteBuilder

@Test
public void temporary_returnsNotNullValue() {
  /* Given */
 CreateImpl create = new CreateImpl();
 /* When */
 Temporary result = create.temporary();
 /* Then */
 assertThat(result, is(notNullValue()));
}
origin: nhaarman/SQLiteBuilder

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

@Test
public void temp_returnsNotNullValue() {
  /* Given */
 CreateImpl create = new CreateImpl();
 /* When */
 Temporary result = create.temp();
 /* Then */
 assertThat(result, is(notNullValue()));
}
origin: nhaarman/SQLiteBuilder

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

@Test
public void tableifNotExists_table_returnsNotNullValue() {
  /* Given */
 CreateImpl create = new CreateImpl();
 /* When */
 CreateTableIfNotExists result = create.tableIfNotExists("table");
 /* Then */
 assertThat(result, is(notNullValue()));
}
origin: nhaarman/SQLiteBuilder

@Test
public void table_databaseAndTable_returnsNotNullValue() {
  /* Given */
 CreateImpl create = new CreateImpl();
 /* When */
 CreateTable result = create.table("database", "table");
 /* Then */
 assertThat(result, is(notNullValue()));
}
com.nhaarman.sqlitebuilder.implCreateImpl

Most used methods

  • <init>
  • table
  • tableIfNotExists
  • prependTo
  • previous
  • temp
  • temporary

Popular in Java

  • Creating JSON documents from java classes using gson
  • compareTo (BigDecimal)
  • startActivity (Activity)
  • setScale (BigDecimal)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • CodeWhisperer alternatives
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