Codota Logo
ValueStringFixed.get
Code IndexAdd Codota to your IDE (free)

How to use
get
method
in
org.h2.value.ValueStringFixed

Best Java code snippets using org.h2.value.ValueStringFixed.get (Showing top 20 results out of 315)

  • Common ways to obtain ValueStringFixed
private void myMethod () {
ValueStringFixed v =
  • Codota IconString s;new ValueStringFixed(StringUtils.cache(s))
  • Codota IconString s;ValueStringFixed.get(s)
  • Codota IconValue v;(ValueStringFixed) Value.cache(v)
  • Smart code suggestions by Codota
}
origin: com.h2database/h2

/**
 * Get or create a fixed length string value for the given string.
 * Spaces at the end of the string will be removed.
 *
 * @param s the string
 * @return the value
 */
public static ValueStringFixed get(String s) {
  // Use the special precision constant PRECISION_TRIM to indicate
  // default H2 behaviour of trimming the value.
  return get(s, PRECISION_TRIM, null);
}
origin: com.h2database/h2

@Override
protected ValueString getNew(String s) {
  return ValueStringFixed.get(s);
}
origin: com.h2database/h2

String s = rs.getString(columnIndex);
v = (s == null) ? (Value) ValueNull.INSTANCE :
  ValueStringFixed.get(s);
break;
origin: com.h2database/h2

  return ValueStringFixed.get(((Character) x).toString());
} else if (isGeometry(x)) {
  return ValueGeometry.getFromGeometry(x);
origin: apache/ignite

return ValueStringFixed.get(new String(readBytes(pageAddr, off), CHARSET));
origin: com.h2database/h2

  return ValueStringIgnoreCase.get(readString(buff));
case Value.STRING_FIXED:
  return ValueStringFixed.get(readString(buff));
case FLOAT_0_1:
  return ValueFloat.get(0);
origin: com.eventsourcing/h2

@Override
protected ValueString getNew(String s) {
  return ValueStringFixed.get(s);
}
origin: org.wowtools/h2

@Override
protected ValueString getNew(String s) {
  return ValueStringFixed.get(s);
}
origin: com.h2database/com.springsource.org.h2

public Value convertPrecision(long precision) {
  if (precision == 0 || value.length() <= precision) {
    return this;
  }
  int p = MathUtils.convertLongToInt(precision);
  return ValueStringFixed.get(value.substring(0, p));
}
origin: com.h2database/com.springsource.org.h2

v = (s == null) ? (Value) ValueNull.INSTANCE : ValueStringFixed.get(s);
break;
origin: org.wowtools/h2

String s = rs.getString(columnIndex);
v = (s == null) ? (Value) ValueNull.INSTANCE :
  ValueStringFixed.get(s);
break;
origin: org.wowtools/h2

  return ValueStringFixed.get(((Character) x).toString());
} else if (isGeometry(x)) {
  return ValueGeometry.getFromGeometry(x);
origin: com.eventsourcing/h2

  return ValueStringFixed.get(((Character) x).toString());
} else if (isGeometry(x)) {
  return ValueGeometry.getFromGeometry(x);
origin: org.apache.ignite/ignite-indexing

return ValueStringFixed.get(new String(readBytes(pageAddr, off), CHARSET));
origin: org.wowtools/h2

  return ValueStringIgnoreCase.get(readString(buff));
case Value.STRING_FIXED:
  return ValueStringFixed.get(readString(buff));
case FLOAT_0_1:
  return ValueFloat.get(0);
origin: com.eventsourcing/h2

  return ValueStringIgnoreCase.get(readString(buff));
case Value.STRING_FIXED:
  return ValueStringFixed.get(readString(buff));
case FLOAT_0_1:
  return ValueFloat.get(0);
origin: com.h2database/com.springsource.org.h2

  return ValueStringIgnoreCase.get(readString());
case Value.STRING_FIXED:
  return ValueStringFixed.get(readString());
case Value.DOUBLE:
  return ValueDouble.get(Double.longBitsToDouble(readLong()));
origin: com.h2database/com.springsource.org.h2

  return ValueStringIgnoreCase.get(readString());
case Value.STRING_FIXED:
  return ValueStringFixed.get(readString());
case Value.BLOB: {
  long length = readLong();
origin: com.eventsourcing/h2

  return ValueStringIgnoreCase.get(readString());
case Value.STRING_FIXED:
  return ValueStringFixed.get(readString());
case FLOAT_0_1:
  return ValueFloat.get(0);
origin: com.eventsourcing/h2

  return ValueStringIgnoreCase.get(readString());
case Value.STRING_FIXED:
  return ValueStringFixed.get(readString());
case Value.BLOB: {
  long length = readLong();
org.h2.valueValueStringFixedget

Javadoc

Get or create a fixed length string value for the given string. Spaces at the end of the string will be removed.

Popular methods of ValueStringFixed

  • <init>
  • trimRight
  • rightPadWithSpaces

Popular in Java

  • Reactive rest calls using spring rest template
  • compareTo (BigDecimal)
  • getContentResolver (Context)
  • orElseThrow (Optional)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now