java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.SmfRecord
com.blackhillsoftware.smf.smf98.Smf98Record
- Direct Known Subclasses:
Smf98s1024Record
,Smf98s1025Record
,Smf98s1Record
Mapping for SMF type 98 record.
For subtypes 1, 1024 and 1025 the specialized subclasses are recommended.
Obtain Smf98Records by reading SmfRecords and using
Smf98Record.
from(SmfRecord)
to create the specialized record after determining the record type.
Use the methods provided to read the specific sections e.g.
try (SmfRecordReader reader =
SmfRecordReader.fromDD("INPUT")
.include(98))
{
for (SmfRecord record : reader)
{
Smf98Record r98 = Smf98Record.from(record);
ContextSummarySection cts = r98.contextSummarySection();
...
}
}
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant: 0x40 = 64static final int
Constant: 0x80 = 128static final int
Constant: 0x20 = 32static final int
Constant: 0x40 = 64static final int
Constant: 0x80 = 128static final int
Constant: 0x30 = 48 -
Method Summary
Modifier and TypeMethodDescriptionGet a List containing Aggregate Bucket Sections from the first Aggregate Bucket SectionGet a List containing Aggregate Bucket Sections from the second Aggregate Bucket SectionGet the Context Summary Section from the recordstatic Smf98Record
from
(byte[] data) Constructs an Smf98Record from the specified byte array.static Smf98Record
Constructs a new Smf98Record from an existing SMF record.Get the Identification Section from the recordjobIndex()
Get a List containing Job Index SectionsjobList()
Get a List containing Job List SectionsGet the Self Defining Section for this recordboolean
Return true ifSMF98CONT
bit insmf98ind()
is set.smf98dte()
SMF98DTE as a LocalDate.int
SMF98DTE raw value.int
smf98flg()
SMF98FLG value.int
smf98ind()
SMF98IND value.int
smf98len()
SMF98LEN value.boolean
Return true ifSMF98More
bit insmf98ind()
is set.boolean
Return true ifSMF98NoStorage
bit insmf98ind()
is set.int
SMF98PartSeqNo value.int
smf98rty()
SMF98RTY value.boolean
smf98sbt()
Return true ifSMF98SBT
bit insmf98flg()
is set.int
SMF98SDSLen value.int
SMF98SDSTripletsNum value.int
smf98seg()
SMF98SEG value.smf98sid()
SMF98SID value.boolean
smf98ssf()
Return true ifSMF98SSF
bit insmf98flg()
is set.smf98ssi()
SMF98SSI value.int
smf98sty()
SMF98STY value.smf98tme()
SMF98TME as a LocalTime.long
SMF98TME raw valuewicData()
Get a List containing Generic WIC Data Sections from the record.Methods inherited from class com.blackhillsoftware.smf.SmfRecord
createSection, extendedHeader, extendedHeader, getTriplet, hasSubtypes, hasSubtypes, recordLength, recordLength, recordType, recordType, sanityCheck, smfDate, smfDate, smfDateTime, smfDateTime, smfhdr1Flag, smfhdr1Iefu86, smfhdr1Len, smfhdr1Len, smfhdr1Stcke, smfhdr1StckeRawValue, smfhdr1Tzo, smfhdr1TzoRawValue, smfhdr1Version, smfhdr1Version, smfTime, smfTime, subSystem, subSystem, subType, subType, system, system
-
Field Details
-
SMF98SSF
public static final int SMF98SSFConstant: 0x80 = 128- See Also:
-
SMF98SBT
public static final int SMF98SBTConstant: 0x40 = 64- See Also:
-
SMF98More
public static final int SMF98MoreConstant: 0x80 = 128- See Also:
-
SMF98CONT
public static final int SMF98CONTConstant: 0x40 = 64- See Also:
-
SMF98NoStorage
public static final int SMF98NoStorageConstant: 0x20 = 32- See Also:
-
SMFR98_Len
public static final int SMFR98_LenConstant: 0x30 = 48- See Also:
-
-
Method Details
-
from
Constructs a new Smf98Record from an existing SMF record. The 2 records share the same data byte array.- Parameters:
record
- an existing SMF record
-
from
Constructs an Smf98Record from the specified byte array.- Parameters:
data
- a byte array containing the SMF record data
-
selfDefiningSection
Get the Self Defining Section for this record- Returns:
- SMF type 98 SelfDefiningSection
-
identificationSection
Get the Identification Section from the record- Returns:
- the IdentificationSection
-
contextSummarySection
Get the Context Summary Section from the record- Returns:
- the ContextSummarySection
-
wicData
Get a List containing Generic WIC Data Sections from the record. Returns an empty list for subtype 1 because subtype 1 does not use this WIC data format- Returns:
- a list of WicData
-
aggregateBuckets1
Get a List containing Aggregate Bucket Sections from the first Aggregate Bucket Section- Returns:
- a list of AggregateBucket
-
aggregateBuckets2
Get a List containing Aggregate Bucket Sections from the second Aggregate Bucket Section- Returns:
- a list of AggregateBucket
-
jobIndex
Get a List containing Job Index Sections- Returns:
- a list of JobIndex
-
jobList
Get a List containing Job List Sections- Returns:
- a list of JobList
-
smf98len
public int smf98len()SMF98LEN value.- Returns:
- int SMF98LEN value
-
smf98seg
public int smf98seg()SMF98SEG value.- Returns:
- int SMF98SEG value
-
smf98flg
public int smf98flg()SMF98FLG value.- Returns:
- int SMF98FLG value
-
smf98ssf
public boolean smf98ssf()Return true ifSMF98SSF
bit insmf98flg()
is set.- Returns:
- boolean SMF98SSF bit is set in smf98flg()
SMF98SSF = 0x80
-
smf98sbt
public boolean smf98sbt()Return true ifSMF98SBT
bit insmf98flg()
is set.- Returns:
- boolean SMF98SBT bit is set in smf98flg()
SMF98SBT = 0x40
-
smf98rty
public int smf98rty()SMF98RTY value.- Returns:
- int SMF98RTY value
-
smf98tme
SMF98TME as a LocalTime.- Returns:
- LocalTime SMF98TME Time
- See Also:
-
smf98tmeRawValue
public long smf98tmeRawValue()SMF98TME raw value- Returns:
- long SMF98TME value
-
smf98dte
SMF98DTE as a LocalDate.- Returns:
- LocalDate SMF98DTE Date
- See Also:
-
smf98dteRawValue
public int smf98dteRawValue()SMF98DTE raw value.- Returns:
- int SMF98DTE value
-
smf98sid
SMF98SID value.- Returns:
- String SMF98SID value
-
smf98ssi
SMF98SSI value.- Returns:
- String SMF98SSI value
-
smf98sty
public int smf98sty()SMF98STY value.- Returns:
- int SMF98STY value
-
smf98ind
public int smf98ind()SMF98IND value.- Returns:
- int SMF98IND value
-
smf98more
public boolean smf98more()Return true ifSMF98More
bit insmf98ind()
is set.- Returns:
- boolean SMF98More bit is set in smf98ind()
SMF98More = 0x80
-
smf98cont
public boolean smf98cont()Return true ifSMF98CONT
bit insmf98ind()
is set.- Returns:
- boolean SMF98CONT bit is set in smf98ind()
SMF98CONT = 0x40
-
smf98noStorage
public boolean smf98noStorage()Return true ifSMF98NoStorage
bit insmf98ind()
is set.- Returns:
- boolean SMF98NoStorage bit is set in smf98ind()
SMF98NoStorage = 0x20
-
smf98partSeqNo
public int smf98partSeqNo()SMF98PartSeqNo value.- Returns:
- int SMF98PartSeqNo value
-
smf98sdsLen
public int smf98sdsLen()SMF98SDSLen value.- Returns:
- int SMF98SDSLen value
-
smf98sdsTripletsNum
public int smf98sdsTripletsNum()SMF98SDSTripletsNum value.- Returns:
- int SMF98SDSTripletsNum value
-