| Modifier and Type | Field and Description |
|---|---|
private Meta |
metaob
A Stata Metadata object
|
private java.lang.Long |
obid
Observation ID variable
|
private java.lang.Byte[] |
observation
Variable containing the data for a given observation
|
| Constructor and Description |
|---|
DataRecordByteArray(java.lang.Integer id,
Meta metaobject)
Constructor for use with Stata 13 API
|
DataRecordByteArray(java.lang.Integer id,
Meta metaobject,
java.lang.Number missingValue)
Constructor for use with Stata 13 API
|
DataRecordByteArray(java.lang.Long id,
Meta metaobject)
Constructor method for DataRecordByteArray class
|
DataRecordByteArray(java.lang.Long id,
Meta metaobject,
java.lang.Number missingValue)
Constructor method for DataRecordByteArray class
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Byte[] |
getData()
Retrieves the data for a given record
|
void |
setData(java.lang.Integer obid)
Constructs the object containing the data for the record
|
void |
setData(java.lang.Long obid)
Constructs the object containing the data for the record
|
void |
setData(java.lang.Number obid,
java.lang.Number missingValue)
Method to construct row object with user specified missing value
override
|
void |
setObid(java.lang.Integer observationNumber)
Method to set the observation index value for the record
|
void |
setObid(java.lang.Long observationNumber)
Method to set the observation index value for the record
|
java.util.List<java.lang.Byte> |
toList()
Method to retrieve the data as a List of Byte objects
|
private Meta metaob
private java.lang.Long obid
private java.lang.Byte[] observation
public DataRecordByteArray(java.lang.Long id,
Meta metaobject)
id - The observation index value for which to retrieve the data formetaobject - A Meta class object containing metadata from the
Stata datasetpublic DataRecordByteArray(java.lang.Integer id,
Meta metaobject)
id - An Integer observation IDmetaobject - The Meta object from which the data are accessedpublic DataRecordByteArray(java.lang.Integer id,
Meta metaobject,
java.lang.Number missingValue)
id - An Integer observation IDmetaobject - The Meta object from which the data are accessedmissingValue - User specified default missing valuepublic DataRecordByteArray(java.lang.Long id,
Meta metaobject,
java.lang.Number missingValue)
id - The observation index value for which to retrieve the data formetaobject - A Meta class object containing metadata from the
Stata datasetmissingValue - User specified default missing valuepublic void setObid(java.lang.Long observationNumber)
public void setObid(java.lang.Integer observationNumber)
public void setData(java.lang.Long obid)
public void setData(java.lang.Integer obid)
public void setData(java.lang.Number obid,
java.lang.Number missingValue)
public java.lang.Byte[] getData()
public java.util.List<java.lang.Byte> toList()