#NEWLINE# def __init__( self , field = None , table = None , alias = None , cast = None , distinct = None , over = None , n = 1 ) : #NEWLINE# #INDENT# "\n        Sets the Nth value\n\n        :param field: A string of a field name\n        :type field: str\n\n        :param table: A Table instance used to disambiguate the field. This is optional in\n            simple queries\n        :type table: :class:`Table <querybuilder.tables.Table>`\n\n        :param alias: An alias to be used for this field\n        :type alias: str\n\n        :param cast: A data type name this field should be cast to. Ex: 'float'\n        :type cast: str\n\n        :param distinct: Indicates if a DISTINCT flag should be added during sql generation\n        :type cast: bool\n\n        :param over: The QueryWindow to perform the aggregate function over\n        :type over: :class:`QueryWindow <querybuilder.query.QueryWindow>`\n\n        :param n: the n value to use for the Nth value function\n        :type n: int\n        " #NEWLINE# super ( NthValueField , self ) . __init__ ( field , table , alias , cast , distinct , over ) #NEWLINE# self . n = n