Package org.pgcodekeeper.core.hasher
Interface IHashable
- All Known Implementing Classes:
AbstractColumn,AbstractConstraint,AbstractDatabase,AbstractForeignTable,AbstractFunction,AbstractIndex,AbstractMsClrFunction,AbstractMsFunction,AbstractPgFunction,AbstractPgFunction.PgArgument,AbstractPgTable,AbstractPgView,AbstractPolicy,AbstractRegularTable,AbstractSchema,AbstractSequence,AbstractStatistics,AbstractTable,AbstractTrigger,AbstractType,AbstractView,Argument,ChColumn,ChConstraint,ChDatabase,ChDictionary,ChEngine,ChFunction,ChIndex,ChPolicy,ChRole,ChSchema,ChTable,ChTableLog,ChUser,ChView,GpExternalTable,Inherits,MaterializedPgView,MsAssembly,MsClrFunction,MsClrProcedure,MsColumn,MsConstraint,MsConstraintCheck,MsConstraintFk,MsConstraintPk,MsDatabase,MsFunction,MsIndex,MsProcedure,MsRole,MsSchema,MsSequence,MsStatistics,MsTable,MsTrigger,MsType,MsUser,MsView,PartitionForeignPgTable,PartitionGpTable,PartitionPgTable,PartitionTemplateContainer,PgAggregate,PgBaseType,PgCast,PgCollation,PgColumn,PgCompositeType,PgConstraint,PgConstraintCheck,PgConstraintExclude,PgConstraintFk,PgConstraintPk,PgDatabase,PgDomain,PgEnumType,PgEventTrigger,PgExtension,PgForeignDataWrapper,PgFtsConfiguration,PgFtsDictionary,PgFtsParser,PgFtsTemplate,PgFunction,PgIndex,PgOperator,PgPolicy,PgPrivilege,PgProcedure,PgRangeType,PgRule,PgSchema,PgSequence,PgServer,PgShellType,PgStatement,PgStatementContainer,PgStatistics,PgTrigger,PgUserMapping,PgView,SimpleColumn,SimpleForeignPgTable,SimplePgTable,TypedPgTable
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
-