congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
PropertyIsLike.isMatchCase
Code IndexAdd Tabnine 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)

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

  • Creating JSON documents from java classes using gson
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • startActivity (Activity)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Table (org.hibernate.mapping)
    A relational table
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now