com.spoledge.audao.parser.gql.impl.soft.func
Class FuncSUBSTR

java.lang.Object
  extended by com.spoledge.audao.parser.gql.impl.soft.func.Func
      extended by com.spoledge.audao.parser.gql.impl.soft.func.FuncSUBSTR
All Implemented Interfaces:
SoftFunction

public class FuncSUBSTR
extends Func

SUBSTR( text, start [, count ]) .
start: 1,2,3... (1 = first char) if negative, then counts backwards (-1 = last char) if 0, then starting at the first char.
count: optional number of characters.


Constructor Summary
FuncSUBSTR()
           
 
Method Summary
protected  void checkNumOfParams(java.util.List<java.lang.Object> args)
           
protected  java.lang.Object getFunctionValueImpl(java.util.List<java.lang.Object> args)
           
 
Methods inherited from class com.spoledge.audao.parser.gql.impl.soft.func.Func
checkNumOfParams, checkNumOfParams, getFunctionName, getFunctionValue, getFunctionWithParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FuncSUBSTR

public FuncSUBSTR()
Method Detail

getFunctionValueImpl

protected java.lang.Object getFunctionValueImpl(java.util.List<java.lang.Object> args)
Specified by:
getFunctionValueImpl in class Func

checkNumOfParams

protected void checkNumOfParams(java.util.List<java.lang.Object> args)
Specified by:
checkNumOfParams in class Func


Copyright © 2010 Spolecne s.r.o. All Rights Reserved.