//---------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// @owner [....]
// @backupOwner [....]
//---------------------------------------------------------------------
namespace System.Data.Common.EntitySql.AST
{
using System;
using System.Globalization;
using System.Collections;
using System.Collections.Generic;
///
/// Represents GROUPPARTITION(expr) expression.
///
internal sealed class GroupPartitionExpr : GroupAggregateExpr
{
private readonly Node _argExpr;
///
/// Initializes GROUPPARTITION expression node.
///
internal GroupPartitionExpr(DistinctKind distinctKind, Node refArgExpr)
: base(distinctKind)
{
_argExpr = refArgExpr;
}
///
/// Return GROUPPARTITION argument expression.
///
internal Node ArgExpr
{
get { return _argExpr; }
}
}
}