Beispiel #1
0
		public virtual IPreparedComparison PrepareComparison(IContext context, object fieldIndexKey
			)
		{
			if (fieldIndexKey == null)
			{
				fieldIndexKey = new FieldIndexKeyImpl(int.MaxValue, null);
			}
			IFieldIndexKey source = (IFieldIndexKey)fieldIndexKey;
			IPreparedComparison preparedValueComparison = _valueHandler.PrepareComparison(context
				, source.Value());
			IPreparedComparison preparedParentIdComparison = _parentIdHandler.NewPrepareCompare
				(source.ParentID());
			return new _IPreparedComparison_65(preparedValueComparison, preparedParentIdComparison
				);
		}
Beispiel #2
0
        public virtual IPreparedComparison PrepareComparison(IContext context, object fieldIndexKey
                                                             )
        {
            if (fieldIndexKey == null)
            {
                fieldIndexKey = new FieldIndexKeyImpl(int.MaxValue, null);
            }
            IFieldIndexKey      source = (IFieldIndexKey)fieldIndexKey;
            IPreparedComparison preparedValueComparison = _valueHandler.PrepareComparison(context
                                                                                          , source.Value());
            IPreparedComparison preparedParentIdComparison = _parentIdHandler.NewPrepareCompare
                                                                 (source.ParentID());

            return(new _IPreparedComparison_65(preparedValueComparison, preparedParentIdComparison
                                               ));
        }