Package org.pgcodekeeper.core.hasher
Interface IHashable
- All Known Subinterfaces:
IPrivilege,ISequence
- All Known Implementing Classes:
AbstractPrivilege,AbstractStatement,Argument,ChAbstractStatement,ChColumn,ChConstraint,ChDatabase,ChDictionary,ChEngine,ChFunction,ChIndex,ChPolicy,ChPrivilege,ChRole,ChSchema,ChTable,ChTableLog,ChUser,ChView,GpExternalTable,GpPartitionTable,GpPartitionTemplateContainer,Inherits,MsAbstractClrFunction,MsAbstractCommonFunction,MsAbstractFunction,MsAbstractStatement,MsAbstractStatementContainer,MsAssembly,MsClrFunction,MsClrProcedure,MsColumn,MsConstraint,MsConstraintCheck,MsConstraintFk,MsConstraintPk,MsDatabase,MsFunction,MsIndex,MsPrivilege,MsProcedure,MsRole,MsSchema,MsSequence,MsStatistics,MsTable,MsTrigger,MsType,MsUser,MsView,PgAbstractForeignTable,PgAbstractFunction,PgAbstractFunction.PgArgument,PgAbstractRegularTable,PgAbstractStatement,PgAbstractStatementContainer,PgAbstractTable,PgAbstractType,PgAbstractView,PgAggregate,PgBaseType,PgCast,PgCollation,PgColumn,PgCompositeType,PgConstraint,PgConstraintCheck,PgConstraintExclude,PgConstraintFk,PgConstraintNotNull,PgConstraintPk,PgDatabase,PgDomain,PgEnumType,PgEventTrigger,PgExtension,PgForeignDataWrapper,PgFtsConfiguration,PgFtsDictionary,PgFtsParser,PgFtsTemplate,PgFunction,PgIndex,PgMaterializedView,PgOperator,PgPartitionForeignTable,PgPartitionTable,PgPolicy,PgPrivilege,PgProcedure,PgRangeType,PgRule,PgSchema,PgSequence,PgServer,PgShellType,PgSimpleForeignTable,PgSimpleTable,PgStatistics,PgTrigger,PgTypedTable,PgUserMapping,PgView,SimpleColumn
public interface IHashable
Interface for objects that can compute their own hash value using a
Hasher.-
Method Summary
Modifier and TypeMethodDescriptionvoidcomputeHash(Hasher hasher) Computes the hash of the implementing object using the provided hasher.
-
Method Details
-
computeHash
Computes the hash of the implementing object using the provided hasher. The implementation should call appropriateputmethods on the hasher for all fields that should contribute to the hash value.- Parameters:
hasher- the hasher instance to use for hash computation
-