All Packages Class Hierarchy This Package Previous Next Index
Interface hep.analysis.NTupleEventData
- public interface NTupleEventData
- extends EventData
An implementation of this interface is used to provide data for
one event from a simple NTuple with named columns. A variety of
methods allow access to particular fields for the event that this
object represents. Throw an EventDataException
if an inappropriate call to one of these methods is made.
- See Also:
- EventDataException
-
findColumn(String)
- Returns the integer index for the column specified by
name
.
-
getBoolean(int)
- Returns a
boolean
value for the field specified by the parameter column
.
-
getBoolean(String)
- Returns a
boolean
value for the field specified by the parameter name
.
Deprecated.
-
getDate(int)
- Returns a Date object for the field specified by the parameter
column
.
-
getDate(String)
- Returns a Date object for the field specified by the parameter
name
.
Deprecated.
-
getDouble(int)
- Returns a
double
value for the field specified by the parameter column
.
-
getDouble(String)
- Returns a
double
value for the field specified by the parameter name
.
Deprecated.
-
getInt(int)
- Returns an
int
value for the field specified by the parameter column
.
-
getInt(String)
- Returns an
int
value for the field specified by the parameter name
.
Deprecated.
-
getObject(int)
- Returns an Object for the field specified by the parameter
column
.
-
getObject(String)
- Returns an Object for the field specified by the parameter
name
.
Deprecated.
-
getString(int)
- Returns a String object for the field specified by the parameter
column
.
-
getString(String)
- Returns a String object for the field specified by the parameter
name
.
Deprecated.
getDouble
public abstract double getDouble(String name)
- Note: getDouble() is deprecated.
getDouble(int) less expensive and recommended
- Returns a
double
value for the field specified by the parameter name
.
- Parameters:
- name - the name of the field to access
- Throws: EventDataException
- if an inappropriate call to this method is made
- See Also:
- getDouble
getInt
public abstract int getInt(String name)
- Note: getInt() is deprecated.
getInt(int) less expensive and recommended
- Returns an
int
value for the field specified by the parameter name
.
- Parameters:
- name - the name of the field to access
- Throws: EventDataException
- if an inappropriate call to this method is made
- See Also:
- getInt
getDate
public abstract Date getDate(String name)
- Note: getDate() is deprecated.
getDate(int) less expensive and recommended
- Returns a Date object for the field specified by the parameter
name
.
- Parameters:
- name - the name of the field to access
- Throws: EventDataException
- if an inappropriate call to this method is made
- See Also:
- getDate
getBoolean
public abstract boolean getBoolean(String name)
- Note: getBoolean() is deprecated.
getBoolean(int) less expensive and recommended
- Returns a
boolean
value for the field specified by the parameter name
.
- Parameters:
- name - the name of the field to access
- Throws: EventDataException
- if an inappropriate call to this method is made
- See Also:
- getBoolean
getString
public abstract String getString(String name)
- Note: getString() is deprecated.
getString(int) less expensive and recommended
- Returns a String object for the field specified by the parameter
name
.
- Parameters:
- name - the name of the field to access
- Throws: EventDataException
- if an inappropriate call to this method is made
- See Also:
- getString
getObject
public abstract Object getObject(String name)
- Note: getObject() is deprecated.
getObject(int) less expensive and recommended
- Returns an Object for the field specified by the parameter
name
.
- Parameters:
- name - the name of the field to access
- Throws: EventDataException
- if an inappropriate call to this method is made
- See Also:
- getObject
getDouble
public abstract double getDouble(int column)
- Returns a
double
value for the field specified by the parameter column
.
- Parameters:
- column - the integer index for the data column, as returned from
findColumn(String)
- Throws: EventDataException
- if an inappropriate call to this method is made
- See Also:
- findColumn
getInt
public abstract int getInt(int column)
- Returns an
int
value for the field specified by the parameter column
.
- Parameters:
- column - the integer index for the data column, as returned from
findColumn(String)
- Throws: EventDataException
- if an inappropriate call to this method is made
- See Also:
- findColumn
getDate
public abstract Date getDate(int column)
- Returns a Date object for the field specified by the parameter
column
.
- Parameters:
- column - the integer index for the data column, as returned from
findColumn(String)
- Throws: EventDataException
- if an inappropriate call to this method is made
- See Also:
- findColumn
getBoolean
public abstract boolean getBoolean(int column)
- Returns a
boolean
value for the field specified by the parameter column
.
- Parameters:
- column - the integer index for the data column, as returned from
findColumn(String)
- Throws: EventDataException
- if an inappropriate call to this method is made
- See Also:
- findColumn
getString
public abstract String getString(int column)
- Returns a String object for the field specified by the parameter
column
.
- Parameters:
- column - the integer index for the data column, as returned from
findColumn(String)
- Throws: EventDataException
- if an inappropriate call to this method is made
- See Also:
- findColumn
getObject
public abstract Object getObject(int column)
- Returns an Object for the field specified by the parameter
column
.
- Parameters:
- column - the integer index for the data column, as returned from
findColumn(String)
- Throws: EventDataException
- if an inappropriate call to this method is made
- See Also:
- findColumn
findColumn
public abstract int findColumn(String name)
- Returns the integer index for the column specified by
name
. Use the
return value for the argument to the methods of the form
XXX getXXX(int column)
All Packages Class Hierarchy This Package Previous Next Index