MINI MINI MANI MO

Path : /opt/oracle/product/18c/dbhomeXE/R/library/OREbase/doc/man/zh_CN/
File Upload :
Current File : //opt/oracle/product/18c/dbhomeXE/R/library/OREbase/doc/man/zh_CN/ore.hash.Rd

%
% Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved. 
%
\name{ore.hash}
\alias{ore.hash}
\alias{ore.hash,ANY-method}
\alias{ore.hash,ore.vector-method}
\title{
Oracle R Enterprise ore.vector 散列函数
}
\description{
散列 \code{\linkS4class{ore.vector}} 对象中的值。
}
\usage{
ore.hash(x, ...)
\S4method{ore.hash}{ore.vector}(x, size = 4294967296,
         seed = round(runif(1, min = -0.5, max = 4294967295.5)), ...)
}
\arguments{
  \item{x}{
一个 \code{\linkS4class{ore.vector}} 对象。
}
  \item{size}{
\code{[1, 4294967296]} 中表示散列存储桶总数的
    数值。
}
  \item{seed}{
\code{[0, 4294967295]} 中表示散列函数的种子值的
    数值。
}
  \item{...}{
用于将来扩展。
}
}
\details{
对于 Oracle 数据库, SQL 片段
  \code{ORA_HASH(<SQL expr>, size - 1, seed) + 1} 用于计算
  散列值。
}
\value{
返回包含原始向量散列值的
   \code{\linkS4class{ore.numeric}} 对象。
}
\references{
  \href{http://www.oracle.com/technetwork/database/database-technologies/r/r-enterprise/documentation/index.html}{Oracle R Enterprise}
}
\author{
  Oracle \email{oracle-r-enterprise@oracle.com}
}
\seealso{
  \code{\linkS4class{ore.vector}}, \code{\link{ore.recode}}
}
\examples{
vec <- ore.push(c("a", "b", "a", NA, "c", "e"))
ore.hash(vec, seed = 123)
}
\keyword{utilities}
\keyword{database}
\keyword{ORE}

OHA YOOOO