Class IgniteWalConverterArguments
- java.lang.Object
- 
- org.apache.ignite.development.utils.IgniteWalConverterArguments
 
- 
 public class IgniteWalConverterArguments extends Object Parameters for IgniteWalConverter with parsed and validated.
- 
- 
Constructor SummaryConstructors Constructor Description IgniteWalConverterArguments(File walDir, File walArchiveDir, int pageSize, File binaryMetadataFileStoreDir, File marshallerMappingFileStoreDir, boolean keepBinary, Set<org.apache.ignite.internal.pagemem.wal.record.WALRecord.RecordType> recordTypes, Long fromTime, Long toTime, String recordContainsText, org.apache.ignite.development.utils.ProcessSensitiveData processSensitiveData, boolean printStat, boolean skipCrc, Collection<org.apache.ignite.internal.util.typedef.T2<Integer,Long>> pages)Constructor.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FilegetBinaryMetadataFileStoreDir()Path to binary metadata dir.LonggetFromTime()The start time interval for the record time in milliseconds.FilegetMarshallerMappingFileStoreDir()Path to marshaller dir.Collection<org.apache.ignite.internal.util.typedef.T2<Integer,Long>>getPages()Return pages for searching in format grpId:pageId.intgetPageSize()Size of pages, which was selected for file store (1024, 2048, 4096, etc).org.apache.ignite.development.utils.ProcessSensitiveDatagetProcessSensitiveData()Strategy for the processing of sensitive data (SHOW, HIDE, HASH, MD5).StringgetRecordContainsText()Filter by substring in the WAL record.Set<org.apache.ignite.internal.pagemem.wal.record.WALRecord.RecordType>getRecordTypes()WAL record types (TX_RECORD, DATA_RECORD, etc).LonggetToTime()The end time interval for the record time in milliseconds.FilegetWalArchiveDir()Path to dir with archive wal files.FilegetWalDir()Path to dir with wal files.booleanisKeepBinary()Keep binary flag.booleanisPrintStat()Write summary statistics for WAL.booleanisSkipCrc()Skip CRC calculation/check flag.static IgniteWalConverterArgumentsparse(PrintStream out, String... args)Parse command line arguments and return filled IgniteWalConverterArguments
 
- 
- 
- 
Constructor Detail- 
IgniteWalConverterArgumentspublic IgniteWalConverterArguments(File walDir, File walArchiveDir, int pageSize, File binaryMetadataFileStoreDir, File marshallerMappingFileStoreDir, boolean keepBinary, Set<org.apache.ignite.internal.pagemem.wal.record.WALRecord.RecordType> recordTypes, Long fromTime, Long toTime, String recordContainsText, org.apache.ignite.development.utils.ProcessSensitiveData processSensitiveData, boolean printStat, boolean skipCrc, Collection<org.apache.ignite.internal.util.typedef.T2<Integer,Long>> pages) Constructor.- Parameters:
- walDir- Path to dir with wal files.
- walArchiveDir- Path to dir with archive wal files.
- pageSize- Size of pages, which was selected for file store (1024, 2048, 4096, etc).
- binaryMetadataFileStoreDir- Path to binary metadata dir.
- marshallerMappingFileStoreDir- Path to marshaller dir.
- keepBinary- Keep binary flag.
- recordTypes- WAL record types (TX_RECORD, DATA_RECORD, etc).
- fromTime- The start time interval for the record time in milliseconds.
- toTime- The end time interval for the record time in milliseconds.
- recordContainsText- Filter by substring in the WAL record.
- processSensitiveData- Strategy for the processing of sensitive data (SHOW, HIDE, HASH, MD5).
- printStat- Write summary statistics for WAL.
- skipCrc- Skip CRC calculation/check flag.
- pages- Pages for searching in format grpId:pageId.
 
 
- 
 - 
Method Detail- 
getWalDirpublic File getWalDir() Path to dir with wal files.- Returns:
- walDir
 
 - 
getWalArchiveDirpublic File getWalArchiveDir() Path to dir with archive wal files.- Returns:
- walArchiveDir
 
 - 
getPageSizepublic int getPageSize() Size of pages, which was selected for file store (1024, 2048, 4096, etc).- Returns:
- pageSize
 
 - 
getBinaryMetadataFileStoreDirpublic File getBinaryMetadataFileStoreDir() Path to binary metadata dir.- Returns:
- binaryMetadataFileStoreD
 
 - 
getMarshallerMappingFileStoreDirpublic File getMarshallerMappingFileStoreDir() Path to marshaller dir.- Returns:
- marshallerMappingFileStoreD
 
 - 
isKeepBinarypublic boolean isKeepBinary() Keep binary flag.- Returns:
- keepBina
 
 - 
getRecordTypespublic Set<org.apache.ignite.internal.pagemem.wal.record.WALRecord.RecordType> getRecordTypes() WAL record types (TX_RECORD, DATA_RECORD, etc).- Returns:
- recordTypes
 
 - 
getFromTimepublic Long getFromTime() The start time interval for the record time in milliseconds.- Returns:
- fromTime
 
 - 
getToTimepublic Long getToTime() The end time interval for the record time in milliseconds.- Returns:
- toTime
 
 - 
getRecordContainsTextpublic String getRecordContainsText() Filter by substring in the WAL record.- Returns:
- recordContainsText
 
 - 
getProcessSensitiveDatapublic org.apache.ignite.development.utils.ProcessSensitiveData getProcessSensitiveData() Strategy for the processing of sensitive data (SHOW, HIDE, HASH, MD5).- Returns:
- processSensitiveData
 
 - 
isPrintStatpublic boolean isPrintStat() Write summary statistics for WAL.- Returns:
- printStat
 
 - 
isSkipCrcpublic boolean isSkipCrc() Skip CRC calculation/check flag.- Returns:
- skipCrc
 
 - 
getPagespublic Collection<org.apache.ignite.internal.util.typedef.T2<Integer,Long>> getPages() Return pages for searching in format grpId:pageId.- Returns:
- Pages.
 
 - 
parsepublic static IgniteWalConverterArguments parse(PrintStream out, String... args) Parse command line arguments and return filled IgniteWalConverterArguments- Parameters:
- args- Command line arguments.
- out- Out print stream.
- Returns:
- IgniteWalConverterArguments.
 
 
- 
 
-