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

How to use
result
method
in
leap.orm.query.Query

Best Java code snippets using leap.orm.query.Query.result (Showing top 6 results out of 315)

origin: org.leapframework/leap-orm

@Override
public List<T> list() {
  if(null == result) {
    result = query.result(page);
  }
  return result.list();
}
origin: org.leapframework/jmms-core

public QueryResult<Record> query(String sql, Map<String, Object> params) {
  return createQuery(sql, params).result();
}
origin: org.leapframework/leap-orm

@Override
public T first() throws EmptyRecordsException {
  return limit(1).result().first();
}
origin: org.leapframework/leap-orm

@Override
public T single() throws EmptyRecordsException, TooManyRecordsException {
  return limit(2).result().single();
}
origin: org.leapframework/leap-orm

@Override
public T firstOrNull() {
  return limit(1).result().firstOrNull();
}
origin: org.leapframework/leap-orm

@Override
public T singleOrNull() throws TooManyRecordsException {
  return limit(2).result().singleOrNull();
}
leap.orm.queryQueryresult

Javadoc

Executes this query and return the query result.

Popular methods of Query

  • list
    Executes this query and return all the rows as a immutable List object. Returns a empty immutable Li
  • firstOrNull
    Executes this query and return the first row. Returns null if no result returned.
  • params
    Sets a ArrayParams for jdbc placeholders in this query.
  • singleOrNull
    Executes this query and return the first row. Returns null if no result returned.
  • scalarOrNull
    Returns the Scalar value in this query result or null if no records returned.
  • scalars
    Returns all the scalar values of the first column in this query result.
  • count
    Executes a count(*) query and returns the total count of records.
  • pageResult
  • param
  • scalar
    Returns the Scalar value in this query result.
  • scalarValueOrNull
    Returns the scalar value or null if n o records returned.
  • scalarValueOrNull

Popular in Java

  • Finding current android device location
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • getSupportFragmentManager (FragmentActivity)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Menu (java.awt)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • 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