Tabnine Logo
ParamLong.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
br.com.objectos.way.relational.ParamLong
constructor

Best Java code snippets using br.com.objectos.way.relational.ParamLong.<init> (Showing top 15 results out of 315)

origin: br.com.objectos.way/sql-legacy-core

 @Override
 ParamValue<Long> getParam(int index) {
  return new ParamLong(index, value);
 }
}
origin: br.com.objectos/sql-legacy

 @Override
 ParamValue<Long> getParam(int index) {
  return new ParamLong(index, value);
 }
}
origin: br.com.objectos.sql/legacy-core

 @Override
 ParamValue<Long> getParam(int index) {
  return new ParamLong(index, value);
 }
}
origin: br.com.objectos.sql/legacy-core

@Override
public SELF value(String colName, Long value) {
 return addValue(colName, new ParamLong(next(), value));
}
origin: br.com.objectos.sql/legacy-core

public SELF col(String col, long longValue) {
 return addValue(col, new ParamLong(next(), longValue));
}
public SELF col(String col, Long longValue) {
origin: br.com.objectos/sql-legacy

public EntityMapping col(String col, long longValue) {
 return addValue(col, new ParamLong(next(), longValue));
}
public EntityMapping col(String col, Long longValue) {
origin: br.com.objectos.way/sql-legacy-core

public SELF col(String col, long longValue) {
 return addValue(col, new ParamLong(next(), longValue));
}
public SELF col(String col, Long longValue) {
origin: br.com.objectos.sql/legacy-core

public SELF col(String col, Long longValue) {
 return addValue(col, new ParamLong(next(), longValue));
}
origin: br.com.objectos/sql-legacy

@Override
public Insert value(String colName, Long value) {
 return addValue(colName, new ParamLong(next(), value));
}
origin: br.com.objectos.way/sql-legacy-core

@Override
public SELF value(String colName, Long value) {
 return addValue(colName, new ParamLong(next(), value));
}
origin: br.com.objectos/sql-legacy

public EntityMapping col(String col, Long longValue) {
 return addValue(col, new ParamLong(next(), longValue));
}
origin: br.com.objectos.way/sql-legacy-core

public SELF col(String col, Long longValue) {
 return addValue(col, new ParamLong(next(), longValue));
}
origin: br.com.objectos/sql-legacy

val = new ParamLong(index, (Long) value);
origin: br.com.objectos.way/sql-legacy

static ParamValue<?> paramValue(int index, Object value) {
 Preconditions.checkNotNull(value, "Cannot treat null values this way.");
 ParamValue<?> val; // so we never forget a if condition
 if (value instanceof BigDecimal) {
  val = new ParamBigDecimal(index, (BigDecimal) value);
 } else if (value instanceof Boolean) {
  val = new ParamBoolean(index, (Boolean) value);
 } else if (value instanceof Date) {
  val = new ParamDate(index, (Date) value);
 } else if (value instanceof Double) {
  val = new ParamDouble(index, (Double) value);
 } else if (value instanceof Float) {
  val = new ParamFloat(index, (Float) value);
 } else if (value instanceof Integer) {
  val = new ParamInt(index, (Integer) value);
 } else if (value instanceof java.time.LocalDate) {
  val = new ParamLocalDate8(index, (java.time.LocalDate) value);
 } else if (value instanceof LocalDateTime) {
  val = new ParamLocalDateTime(index, (LocalDateTime) value);
 } else if (value instanceof Long) {
  val = new ParamLong(index, (Long) value);
 } else if (value instanceof String) {
  val = new ParamString(index, (String) value);
 } else {
  throw new UnsupportedOperationException("Don't know how to treat typeof " + value.getClass());
 }
 return val;
}
origin: br.com.objectos.sql/legacy

static ParamValue<?> paramValue(int index, Object value) {
 Preconditions.checkNotNull(value, "Cannot treat null values this way.");
 ParamValue<?> val; // so we never forget a if condition
 if (value instanceof BigDecimal) {
  val = new ParamBigDecimal(index, (BigDecimal) value);
 } else if (value instanceof Boolean) {
  val = new ParamBoolean(index, (Boolean) value);
 } else if (value instanceof Date) {
  val = new ParamDate(index, (Date) value);
 } else if (value instanceof Double) {
  val = new ParamDouble(index, (Double) value);
 } else if (value instanceof Float) {
  val = new ParamFloat(index, (Float) value);
 } else if (value instanceof Integer) {
  val = new ParamInt(index, (Integer) value);
 } else if (value instanceof java.time.LocalDate) {
  val = new ParamLocalDate8(index, (java.time.LocalDate) value);
 } else if (value instanceof LocalDateTime) {
  val = new ParamLocalDateTime(index, (LocalDateTime) value);
 } else if (value instanceof Long) {
  val = new ParamLong(index, (Long) value);
 } else if (value instanceof String) {
  val = new ParamString(index, (String) value);
 } else {
  throw new UnsupportedOperationException("Don't know how to treat typeof " + value.getClass());
 }
 return val;
}
br.com.objectos.way.relationalParamLong<init>

Popular methods of ParamLong

    Popular in Java

    • Parsing JSON documents to java classes using gson
    • addToBackStack (FragmentTransaction)
    • scheduleAtFixedRate (ScheduledExecutorService)
    • findViewById (Activity)
    • Kernel (java.awt.image)
    • FileOutputStream (java.io)
      An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
    • Collectors (java.util.stream)
    • ImageIO (javax.imageio)
    • BasicDataSource (org.apache.commons.dbcp)
      Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
    • FileUtils (org.apache.commons.io)
      General file manipulation utilities. Facilities are provided in the following areas: * writing to a
    • Top plugins for WebStorm
    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