Examples of SetType


Examples of org.apache.cassandra.db.marshal.SetType

            Object valueClassInstance;
            try
            {
                valueClassInstance = valueValidationClass.getDeclaredField("instance").get(null);
                SetType setType = SetType.getInstance((AbstractType) valueClassInstance);
                Collection outputCollection = new HashSet();
                outputCollection.addAll((Collection) setType.compose(buf));
                return marshalCollection(valueValidationClass, outputCollection, mapGenericClassses,
                        outputCollection.getClass());
            }
            catch (NoSuchFieldException e)
            {
View Full Code Here

Examples of org.olap4j.type.SetType

        }
        if (parameterType instanceof SetType)
        {
          if (parameterValue instanceof String)
          {
            final SetType type = (SetType) parameterType;
            final Hierarchy hierarchy = type.getHierarchy();
            final Cube cube = statement.getCube();

            final String rawString = (String) parameterValue;
            final String[] memberStr = rawString.replaceFirst("^ *\\{", "").replaceFirst("} *$", "").split(",");
            final List<Member> list = new ArrayList<Member>(memberStr.length);
View Full Code Here

Examples of org.olap4j.type.SetType

    }
    if (parameterType instanceof SetType)
    {
      if (parameterValue instanceof String)
      {
        final SetType type = (SetType) parameterType;
        final Hierarchy hierarchy = type.getHierarchy();
        final Cube cube = statement.getCube();

        final String rawString = (String) parameterValue;
        final String[] memberStr = rawString.replaceFirst("^ *\\{", "").replaceFirst("} *$", "").split(",");
        final List<Member> list = new ArrayList<Member>(memberStr.length);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.