Codota Logo
PropertyIsLike.isMatchCase
Code IndexAdd Codota to your IDE (free)

How to use
isMatchCase
method
in
org.deegree.filter.comparison.PropertyIsLike

Best Java code snippets using org.deegree.filter.comparison.PropertyIsLike.isMatchCase (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: deegree/deegree3

private SQLOperation getOperationFromBuilder( PropertyIsLike op, SQLExpression propName, String sqlEncoded ) {
  SQLOperationBuilder builder = new SQLOperationBuilder();
  if ( !op.isMatchCase() ) {
    builder.add( "LOWER(" );
  }
  builder.add( propName );
  if ( op.isMatchCase() ) {
    builder.add( "::TEXT LIKE '" );
  } else {
    builder.add( "::TEXT) LIKE '" );
  }
  builder.add( sqlEncoded );
  builder.add( "'" );
  return builder.toOperation();
}
origin: deegree/deegree3

private SQLOperation toProtoSql( PropertyIsLike op, String literal )
            throws UnmappableException, FilterEvaluationException {
  String escape = "" + op.getEscapeChar();
  String wildCard = "" + op.getWildCard();
  String singleChar = "" + op.getSingleChar();
  SQLExpression propName = toProtoSQL( op.getExpression() );
  IsLikeString specialString = new IsLikeString( literal, wildCard, singleChar, escape );
  String sqlEncoded = specialString.toSQL( !op.isMatchCase() );
  if ( propName.isMultiValued() ) {
    // TODO escaping of pipe symbols
    sqlEncoded = "%|" + sqlEncoded + "|%";
  }
  return getOperationFromBuilder( op, propName, sqlEncoded );
}
origin: deegree/deegree3

writer.writeAttribute( "singleChar", isLikeOperator.getSingleChar() );
writer.writeAttribute( "escapeChar", isLikeOperator.getEscapeChar() );
if ( isLikeOperator.isMatchCase() != null ) {
  writer.writeAttribute( "matchCase", "" + isLikeOperator.isMatchCase() );
origin: deegree/deegree3

String sqlEncoded = specialString.toSQL( !op.isMatchCase() );
if ( !op.isMatchCase() ) {
  builder.add( "LOWER (" + propName + ")" );
} else {
origin: deegree/deegree3

String sqlEncoded = specialString.toSQL( !op.isMatchCase() );
if ( !op.isMatchCase() ) {
  builder.add( "LOWER (" + propName + ")" );
} else {
origin: deegree/deegree3

  return new PropertyIsLike( copy( pil.getExpression() ), copyExpression( pil.getPattern(), values ),
                pil.getWildCard(), pil.getSingleChar(), pil.getEscapeChar(),
                pil.isMatchCase(), pil.getMatchAction() );
case PROPERTY_IS_NOT_EQUAL_TO:
  PropertyIsNotEqualTo pine = (PropertyIsNotEqualTo) op;
org.deegree.filter.comparisonPropertyIsLikeisMatchCase

Popular methods of PropertyIsLike

  • getEscapeChar
  • getExpression
  • getPattern
  • getSingleChar
  • getWildCard
  • <init>
  • getMatchAction
  • getPrimitiveValues
  • matches
    Checks if a given String matches a pattern that is a sequence of: * standard characters * wildca

Popular in Java

  • Updating database using SQL prepared statement
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • startActivity (Activity)
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Reference (javax.naming)
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